Click or drag to resize

PdfMargins Class

A class representing page margins.
Inheritance Hierarchy
System Object
Spire.Pdf.Graphics PdfMargins

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfMargins : ICloneable

The PdfMargins type exposes the following members.

Constructors
Name Description
Public method PdfMargins
Initializes a new instance of theclass.
Public method PdfMargins(Single)
Create and initialize margin.
Public method PdfMargins(Single, Single)
Create and initialize margin.
Public method PdfMargins(Single, Single, Single, Single)
Create and initialize margin.
Top
Properties
Name Description
Public property All
Sets margin of each side.
Public property Bottom
Gets or sets the bottom margin size.
Public property Left
Gets or sets the left margin size.
Public property Right
Gets or sets the right margin size.
Public property Top
Gets or sets the top margin size.
Top
Methods
Name Description
Public method Clone
Clones the object.
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 ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also