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

Namespace: GroupDocs.Watermark.Watermarks
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
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 with the specified type, location and size.
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 (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also