www.gnostice.com 

PageHeight

Top  Previous  Next

The PageHeight property is used to set the height for the page.

 

 

 

 

Syntax

 

 

[VC++]

double GetPageHeight();

void SetPageHeight(double newValue);

 

[C#]

public abstract new double PageHeight [  get,  set ]

 

[VB]

Property PageHeight As Double

 

Remarks

 

 

This property will generally hold the height of the page corresponding to PagePaperSize property. The value returned by this property will be in the units specified by MeasurementUnit property.

 

 

 

You can set the height and width of a page to any custom value. The pre-condition is that the PagePaperSize property is set to "Custom". The custom values will be applied to all the pages created after setting these values.

 

 

 

 

Note

 

 

This property should be set before calling NewPage or BeginDoc to come into effect.

 

 

 

 

Example Code

 

 

For an example code, see Page Formatting.   

 

 

 

 

See Also

 

 

PageWidth, PagePaperSize