ImageGear .NET v25.0 - Updated
PageWidth Property (ImGearExcelSheetDocument)




ImageGear.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearExcelSheetDocument Class : PageWidth Property
Gets the width, in pixels, of the pages of the sheet.
Syntax
'Declaration
 
Public ReadOnly Property PageWidth As Double
'Usage
 
Dim instance As ImGearExcelSheetDocument
Dim value As Double
 
value = instance.PageWidth
public double PageWidth {get;}
public: __property double get_PageWidth();
public:
property double PageWidth {
   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 sheet, else 816 pixels.

See Also

Reference

ImGearExcelSheetDocument Class
ImGearExcelSheetDocument Members