Represents the space between the element border and the element content.
Inheritance Hierarchy Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2026.2.3
Syntaxpublic struct Padding : IEquatable<Padding>
Public Structure Padding
Implements IEquatable(Of Padding)
The Padding type exposes the following members.
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| | 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
Operators
Fields| | Name | Description |
|---|
  | Nil |
Represents inherited padding.
|
  | None |
Represents no padding or zero padding.
|
Top
See Also