ImageGear .NET v25.2 - Updated
PageHeight Property (ImGearWordDocument)




ImageGear.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearWordDocument Class : PageHeight Property
Gets the preferred height in pixels for the document pages.
Syntax
'Declaration
 
Public ReadOnly Property PageHeight As Double
'Usage
 
Dim instance As ImGearWordDocument
Dim value As Double
 
value = instance.PageHeight
public double PageHeight {get;}
public: __property double get_PageHeight();
public:
property double PageHeight {
   double get();
}

Property Value

Double value.
Remarks

Page dimensions of the document are stored in the WordprocessingML package. ImageGear retrieves them (if any) and applies upon loading of the document.

In case of absence of page dimensions within the package, ImageGear by default uses letter size: 8.5"(width) x 11"(height) (1" is equal to 96 pixels).

So, the default page height is 1056 pixels.

See Also

Reference

ImGearWordDocument Class
ImGearWordDocument Members

Is this page helpful?
Yes No
Thanks for your feedback.