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
Public propertyPageScale
Public propertyPageSize
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also