Click or drag to resize

PdfMetamorphosisPageSetting Class

Set different page properties. For example, set page size, margins, page numbers and add watermarks on page.
Inheritance Hierarchy
SystemObject
  SautinSoftPdfMetamorphosisPageSetting

Namespace: SautinSoft
Assembly: PdfMetamorphosis (in PdfMetamorphosis.dll) Version: 2024.1.12
Syntax
public class PageSetting

The PdfMetamorphosisPageSetting type exposes the following members.

Properties
 NameDescription
Public propertyFooter Set a page footer in any format from: Html, Rtf or Text.
Public propertyFooterOnEvenPage Set a page footer on even page in any format from: Html, Rtf or Text.
Public propertyFooterOnFirstPage Set a page footer on first page in any format from: Html, Rtf or Text.
Public propertyHeader Set a page header in any format from: Html, Rtf or Text.
Public propertyHeaderOnEvenPage Setup a header on even page in any format from: Html, Rtf or Text.
Public propertyHeaderOnFirstPage Setup a header on first page in any format from: Html, Rtf or Text.
Public propertyCode exampleMarginBottom Set bottom page margin. Default values:
  1. RTF, DOCX, DOC to PDF: The same as in a source document
  2. Text, HTML to PDF: 10 mm
Public propertyMarginLeft Set left page margin. Default values:
  1. RTF, DOCX, DOC to PDF: The same as in a source document.
  2. Text, HTML to PDF: 10 mm
Public propertyCode exampleMarginRight Set right page margin. Default values:
  1. RTF, DOCX, DOC to PDF: The same as in a source document.
  2. Text, HTML to PDF: 10 mm
Public propertyCode exampleMarginTop Set top page margin. Default values:
  1. RTF, DOCX, DOC to PDF: The same as in a source document
  2. Text, HTML to PDF: 10 mm
Public propertyNumbering Set a custom page numbers in produced document.
Public propertyCode exampleOrientation Set page orientation (Landscape or Portrait). Default values: Auto.
Public propertyCode exampleSize Set page size (A0,A1,A2,A3,A4,A5,A6 etc) for the PDF document. Default values:
  1. RTF, DOCX, DOC to PDF: The same as in a source document
  2. Text, HTML to PDF: Letter
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