Margin Class
Represents page margin.
Inheritance Hierarchy
SystemObject
  Aspose.Html.DrawingMargin

Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class Margin

The Margin type exposes the following members.

Constructors
  NameDescription
Public methodMargin
Initializes a new instance of the Margin class.
Public methodMargin(Int32)
Initializes a new instance of the Margin class.
Public methodMargin(Length)
Initializes a new instance of the Margin class.
Public methodMargin(Int32, Int32, Int32, Int32)
Initializes a new instance of the Margin class.
Public methodMargin(Length, Length, Length, Length)
Initializes a new instance of the Margin class.
Properties
  NameDescription
Public propertyBottom
Gets or sets the bottom.
Public propertyLeft
Gets or sets the left.
Public propertyRight
Gets or sets the right.
Public propertyTop
Gets or sets the 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.)
See Also