PdfDocumentMargins Class

An object of this class is exposed by the Margins property of the PdfDocument class and controls the PDF document margins

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public class PdfDocumentMargins
Inheritance
Object    PdfDocumentMargins

Constructors

PdfDocumentMargins All margins are 0 points
PdfDocumentMargins(Single) All margins have the same size
PdfDocumentMargins(Single, Single, Single, Single) Set individual sizes for the left, right, top and bottom margins in points

Properties

Bottom The bottom margin in points
Empty Empty margins
Left The left margin in points
Right The right margin in points
Top The top margin in points of the PDF page

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also