The Margins type exposes the following members.

Constructors

  NameDescription
Public methodMargins()()()()
Initializes all margins with 0
Public methodMargins(Single)
Initializes all margins with the same value
Public methodMargins(Single, Single, Single, Single)
Default constructor initializes with 0 all the margins

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.)

Properties

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

See Also