Click or drag to resize

RelativePadding Structure

Represents the relative space between the element border and the element content.

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

The RelativePadding type exposes the following members.

Constructors
  NameDescription
Public methodRelativePadding(Double)
Initializes a new instance of the RelativePadding struct with specified left/top/right/bottom padding percentage.
Public methodRelativePadding(Double, Double)
Initializes a new instance of the RelativePadding struct with specified left/right and top/bottom padding percentage.
Public methodRelativePadding(Double, Double, Double, Double)
Initializes a new instance of the RelativePadding struct with specified left, top, right and bottom padding percentage.
Top
Properties
  NameDescription
Public propertyBottom
Gets the bottom padding percentage.
Public propertyLeft
Gets the left padding percentage.
Public propertyRight
Gets the right padding percentage.
Public propertyTop
Gets the top padding percentage.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this RelativePadding instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(RelativePadding)
Determines whether the other RelativePadding is equal to this RelativePadding instance.
Public methodGetHashCode
Returns a hash code for this RelativePadding instance.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Returns a String that represents this RelativePadding instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether first and second RelativePaddings are equal.
Public operatorStatic memberInequality
Determines whether first and second RelativePaddings are not equal.
Top
Fields
  NameDescription
Public fieldStatic memberNone
Represents no padding or zero padding.
Top
See Also