Margins Class
Represents margin settings for each edge of an object.
Inheritance Hierarchy
SystemObject
  GroupDocs.WatermarkMargins

Namespace: GroupDocs.Watermark
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 19.5
Syntax
public class Margins

The Margins type exposes the following members.

Constructors
  NameDescription
Public methodMargins
Initializes a new instance of the Margins class.
Public methodMargins(MarginType, Double, Double, Double, Double)
Initializes a new instance of the Margins class.
Properties
  NameDescription
Public propertyBottom
Gets or sets the bottom margin.
Public propertyLeft
Gets or sets the left margin.
Public propertyMarginType
Gets or sets margin type. Setting a new value to this property automatically returns all margins to their default values (zero).
Public propertyRight
Gets or sets the right margin.
Public propertyTop
Gets or sets the top margin.
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