Click or drag to resize

ExcelToPdfCPageStyle Class

Allows to specify page properties for output PDF document: page size, orientation, page margins and page numbers
Inheritance Hierarchy
SystemObject
  SautinSoftExcelToPdfCPageStyle

Namespace: SautinSoft
Assembly: SautinSoft.ExcelToPdf (in SautinSoft.ExcelToPdf.dll) Version: 2023.11.22
Syntax
public class CPageStyle

The ExcelToPdfCPageStyle type exposes the following members.

Constructors
 NameDescription
Public methodExcelToPdfCPageStyle Creates a new instance of ExcelToPdfCPageStyle class
Top
Properties
 NameDescription
Public propertyCode examplePageMarginBottom Set bottom page margin. Default value: 30 millimeters.
Public propertyCode examplePageMarginLeft Set left page margin. Default value: 20 millimeters
Public propertyCode examplePageMarginRight Set right page margin. Default value: 20 millimeters
Public propertyCode examplePageMarginTop Set top page margin. Default value: 30 millimeters.
Public propertyCode examplePageNumFormat Allows to set custom page numbers in produced document. By default: Page numbers located at the bottom-right of page and font face is "Helvetica" and font size is "10".
Public propertyPageOrientation Set page orientation. Default option: Auto
Public propertyPageScale Set page scale. Default option: FitByWidth
Public propertyPageSize Set page size. Default option: Auto.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also