Click or drag to resize

CPageStyle Class

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

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.4.23
Syntax
public class CPageStyle

The CPageStyle type exposes the following members.

Constructors
 NameDescription
Public methodCPageStyle Creates a new instance of CPageStyle class
Top
Properties
 NameDescription
Public propertyPageMarginBottom Set bottom page margin. Default value: 30 millimeters.
Public propertyPageMarginLeft Set left page margin. Default value: 20 millimeters
Public propertyPageMarginRight Set right page margin. Default value: 20 millimeters
Public propertyPageMarginTop Set top page margin. Default value: 30 millimeters.
Public propertyPageNumFormat 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