ComponentOne VSView 8.0
PageHeight Property (VSPrinter)

Returns the page height, in twips.

Syntax

val# = [form!]VSPrinter.PageHeight

Remarks

The PageHeight and PageWidth properties are useful to position elements on a page. They reflect the current device, paper, and orientation selections, and do not subtract the document margins.

The values returned by the PageHeight and PageWidth properties depend on the setting of the PhysicalPage property.

These properties are read-only. To use custom paper sizes, set the PaperSize property to pprUser (256) and use the PaperHeight and PaperWidth properties to define the paper size.

Data Type

Double

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback