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: 5.6.11.14
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 methodEquals
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
See Also