HiQPdf Documentation

PdfDocumentMargins Class

Quickly Create High Quality PDFs
An object of this class is exposed by the Margins property of the PdfDocument class and controls the PDF document margins
Inheritance Hierarchy

SystemObject
  HiQPdfPdfDocumentMargins

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public class PdfDocumentMargins

The PdfDocumentMargins type exposes the following members.

Constructors

  NameDescription
Public methodPdfDocumentMargins
All margins are 0 points
Public methodPdfDocumentMargins(Single)
All margins have the same size
Public methodPdfDocumentMargins(Single, Single, Single, Single)
Set individual sizes for the left, right, top and bottom margins in points
Top
Properties

  NameDescription
Public propertyBottom
The bottom margin in points
Public propertyStatic memberEmpty
Empty margins
Public propertyLeft
The left margin in points
Public propertyRight
The right margin in points
Public propertyTop
The top margin in points of the PDF page
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference