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