Click or drag to resize
Padding Structure
Represents the space between the element border and the element content.

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

The Padding type exposes the following members.

Constructors
  NameDescription
Public methodPadding(Double)
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)
Initializes a new instance of the Padding struct with specified left/right and top/bottom padding.
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(Double, Double, Double, Double)
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
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether first and second Paddings are equal.
Public operatorStatic memberInequality
Determines whether first and second Paddings are not equal.
Top
Fields
  NameDescription
Public fieldStatic memberNone
Represents no padding or zero padding.
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
See Also