cete.dynamicpdf.pageelements.cellpadding
CellPadding
- Namespace: ceTe.DynamicPDF.PageElements
- Assemblies: DynamicPDF.CoreSuite.dll
Represents the cell padding.
public class CellPadding
Public Class CellPadding
Inheritance: Object → CellPadding
Constructors
CellPadding(Single?)
Initializes a new instance of the CellPadding class.
public CellPadding(float? value)
Public Sub New (value As Single?)
Parameters
- value: Single?
padding value for all sides of the cell.
Properties
Bottom
Gets or sets the bottom padding value for the cell.
public Nullable<float> Bottom { get; set; }
Public Property Bottom As Nullable(Of Single)
Property Value
Left
Gets or sets the left padding value for the cell.
public Nullable<float> Left { get; set; }
Public Property Left As Nullable(Of Single)
Property Value
Right
Gets or sets the right padding value for the cell.
public Nullable<float> Right { get; set; }
Public Property Right As Nullable(Of Single)
Property Value
Top
Gets or sets the top padding value for the cell.
public Nullable<float> Top { get; set; }
Public Property Top As Nullable(Of Single)
Property Value
Value
Gets or sets the value of the cell padding.
public Nullable<float> Value { get; set; }
Public Property Value As Nullable(Of Single)
Property Value
Methods
Equals(CellPadding)
Determines whether the given instance has padding values equal with the specified instance.
public bool Equals(CellPadding padding)
Function Equals(padding As CellPadding) As Boolean
Parameters
- padding: CellPadding
Instance to compare.
Returns
True if the padding values are equal for all four sides.
Equals(Object)
Determines whether the given instance has padding values equal with the specified object.
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
Instance to compare.
Returns
True if the padding values are equal for all four sides.
GetHashCode()
Returns hash code for this instance.
public int GetHashCode()
Function GetHashCode() As Integer
Returns
Hash code value.
Remarks
The returned hash code is formed by combining the value of padding along with top, bottom, left and right if set separately.
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .