Click or drag to resize

Padding Structure

Represents the space between the element border and the element content.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SautinSoft.DocumentPadding

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.1.24
Syntax
public struct Padding : IEquatable<Padding>

The Padding type exposes the following members.

Constructors
 NameDescription
Public methodPadding(NullableDouble) Initializes a new instance of the Padding struct with specified left/top/right/bottom padding.
Public methodPadding(Double, LengthUnit) Initializes a new instance of the Padding struct with specified left/top/right/bottom padding in specified measurement unit.
Public methodPadding(Double, Double, LengthUnit) Initializes a new instance of the Padding struct with specified left/right and top/bottom padding in specified measurement unit.
Public methodPadding(NullableDouble, NullableDouble, NullableDouble, NullableDouble) Initializes a new instance of the Padding struct with specified left, top, right and bottom padding.
Public methodPadding(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
 NameDescription
Public propertyBottom Gets the bottom padding in points.
Public propertyLeft Gets the left padding in points.
Public propertyRight Gets the right padding in points.
Public propertyTop Gets the top padding in points.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this Padding instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Padding) Determines whether the otherPadding is equal to this Padding instance.
Public methodGetHashCode Returns a hash code for this Padding instance.
(Overrides ValueTypeGetHashCode)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(Padding, Padding) Determines whether first and second Paddings are equal.
Public operatorStatic memberInequality(Padding, Padding) Determines whether first and second Paddings are not equal.
Top
Fields
 NameDescription
Public fieldStatic memberNil Represents inherited padding.
Public fieldStatic memberNone Represents no padding or zero padding.
Top
See Also