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




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

Property Value

Integer value.
Remarks

Page dimensions of a sheet can be stored in the SpreadsheetML package. ImageGear retrieves them, if available, and applies them when the sheet is paginated. Alternatively, you can specify your own page size to use.

If the page size is not defined for the sheet and the caller has not specified a page size to use, ImageGear will use the standard letter size 8.5"(width) x 11"(height), where 1" is equal to 96 pixels.

The default value will be the page width, in pixels, defined in the Excel Spreadsheet for the active sheet, else 1056 pixels.

See Also

Reference

ImGearExcelSheetDocument Class
ImGearExcelSheetDocument Members

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