Click or drag to resize

PageSettings Class

The page settings to use when converting to PDF
Inheritance Hierarchy
System Object
Spire.Additions.Chrome PageSettings

Namespace: Spire.Additions.Chrome
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PageSettings : ICloneable

The PageSettings type exposes the following members.

Constructors
Name Description
Public method PageSettings
Makes this object and sets all the settings to it's default values
Public method PageSettings(PaperFormat)
Makes this object and sets all the settings to it's default values
Top
Properties
Name Description
Public property Landscape
Paper orientation. Defaults to false.
Public property MarginBottom
Bottom margin in inches. Defaults to 1cm (~0.4 inches).
Public property MarginLeft
Left margin in inches. Defaults to 1cm (~0.4 inches).
Public property MarginRight
Right margin in inches. Defaults to 1cm (~0.4 inches).
Public property MarginTop
Top margin in inches. Defaults to 1cm (~0.4 inches).
Public property PaperFormat
The paper format
Public property PaperHeight
Paper height in inches. Defaults to 11 inches.
Public property PaperWidth
Paper width in inches. Defaults to 8.5 inches.
Public property Scale
Scale of the webpage rendering. Defaults to 1.
Top
Methods
Name Description
Public method Clone
Creates a new object that is a copy of the current instance.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ResetToDefaultSettings
Resets the PageSettings to it's default settings
Public method SetPaperFormat
Set the given paperFormat
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also