PdfPadding Struct
Represents padding or margin information.
public struct PdfPadding : IEquatable<PdfPadding>
Public Structure PdfPadding
Implements IEquatable(Of PdfPadding)
Implements
Constructors
PdfPadding(Double, Double, Double, Double)
Initializes a new instance of the PdfPadding structure.
public PdfPadding(double left, double bottom, double right, double top)
Public Sub New(left As Double, bottom As Double, right As Double, top As Double)
Parameters
left
- System.Double
The padding value for the left edge.
bottom
- System.Double
The padding value for the bottom edge.
right
- System.Double
The padding value for the right edge.
top
- System.Double
The padding value for the top edge.
Properties
Bottom
Gets the padding value for the bottom edge.
Property Value
- System.Double
The padding value for the bottom edge.
Left
Gets the padding value for the left edge.
Property Value
- System.Double
The padding value for the left edge.
Right
Gets the padding value for the right edge.
Property Value
- System.Double
The padding value for the right edge.
Top
Gets the padding value for the top edge.
Property Value
- System.Double
The padding value for the top edge.
Methods
Equals(PdfPadding)
Determines whether the other
PdfPadding is equal to this PdfPadding instance.
Parameters
other
- PdfPadding
The other padding to compare with this padding instance.
Returns
- System.Boolean
true if the other
PdfPadding is equal to this PdfPadding instance; otherwise, false.
Equals(Object)
Determines whether the specified System.Object is equal to this PdfPadding instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this padding instance.
Returns
- System.Boolean
true if the specified System.Object is a PdfPadding and is equal to this PdfPadding instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this PdfPadding instance.
Returns
- System.Int32
An integer value that specifies a hash value for this PdfPadding instance.
Overrides
ToString()
Returns a System.String that represents this PdfPadding instance.
Returns
- System.String
A System.String that represents this PdfPadding instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Operators
Equality(PdfPadding, PdfPadding)
Determines whether first
and second
PdfPaddings are equal.
public static bool operator ==(PdfPadding first, PdfPadding second)
Public Shared Operator =(first As PdfPadding, second As PdfPadding) As Boolean
Parameters
first
- PdfPadding
The first padding.
second
- PdfPadding
The second padding.
Returns
- System.Boolean
true if first
and second
paddings are equal; otherwise, false.
Inequality(PdfPadding, PdfPadding)
Determines whether first
and second
PdfPaddings are not equal.
public static bool operator !=(PdfPadding first, PdfPadding second)
Public Shared Operator <>(first As PdfPadding, second As PdfPadding) As Boolean
Parameters
first
- PdfPadding
The first padding.
second
- PdfPadding
The second padding.
Returns
- System.Boolean
true if first
and second
paddings are not equal; otherwise, false.