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

Namespace:  SautinSoft
Assembly:  SautinSoft.ExcelToPdf (in SautinSoft.ExcelToPdf.dll) Version: 5.1.7.22

Syntax

      
 C#  Visual Basic 
public class CPageStyle
Public Class CPageStyle

Members

         
 All Members  Constructors   Properties  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
ExcelToPdf..::.CPageStyle()()()
Creates a new instance of ExcelToPdf..::.CPageStyle class
PageMarginBottom
Set bottom page margin. Default value: 30 millimeters.
PageMarginLeft
Set left page margin. Default value: 20 millimeters
PageMarginRight
Set right page margin. Default value: 20 millimeters
PageMarginTop
Set top page margin. Default value: 30 millimeters.
PageNumFormat
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".
PageOrientation
Set page orientation. Default option: Auto()()()
PageScale
Set page scale. Default option: FitByWidth()()()
PageSize
Set page size. Default option: Auto()()().

Remarks

Inheritance Hierarchy

System..::.Object
  SautinSoft..::.ExcelToPdf..::.CPageStyle

See Also