Represents the space between the element border and the element content.
            
 Inheritance Hierarchy
Inheritance HierarchySystemObject
  SystemValueType
    SautinSoft.DocumentPadding
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2025.10.22
 Syntax
Syntaxpublic struct Padding : IEquatable<Padding>
Public Structure Padding
	Implements IEquatable(Of Padding)
The Padding type exposes the following members.
 Constructors
Constructors|  | Name | Description | 
|---|
|  | Padding(NullableDouble) | Initializes a new instance of the Padding 
            struct with specified left/top/right/bottom padding. | 
|  | Padding(Double, LengthUnit) | Initializes a new instance of the Padding struct with specified 
            left/top/right/bottom padding in specified measurement unit. | 
|  | Padding(Double, Double, LengthUnit) | Initializes a new instance of the Padding struct with specified 
            left/right and top/bottom padding in specified measurement unit. | 
|  | Padding(NullableDouble, NullableDouble, NullableDouble, NullableDouble) | Initializes a new instance of the Padding 
            struct with specified left, top, right and bottom padding. | 
|  | Padding(Double, Double, Double, Double, LengthUnit) | Initializes a new instance of the Padding 
            struct with specified left, top, right and bottom padding in specified measurement unit. | 
Top Properties
Properties|  | Name | Description | 
|---|
|  | Bottom | Gets the bottom padding in points. | 
|  | Left | Gets the left padding in points. | 
|  | Right | Gets the right padding in points. | 
|  | Top | Gets the top padding in points. | 
Top Methods
Methods|  | Name | Description | 
|---|
|  | Equals(Object) | Determines whether the specified Object is equal to this 
            Padding instance. (Overrides ValueTypeEquals(Object))
 | 
|  | Equals(Padding) | Determines whether the otherPadding is equal 
            to this Padding instance. | 
|  | GetHashCode | Returns a hash code for this Padding instance. (Overrides ValueTypeGetHashCode)
 | 
Top Operators
Operators Fields
Fields|  | Name | Description | 
|---|
|   | Nil | Represents inherited padding. | 
|   | None | Represents no padding or zero padding. | 
Top See Also
See Also