Skip to main content

CellPadding

Version: 11.0

cete.dynamicpdf.pageelements.cellpadding

CellPadding​

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​

padding value for all sides of the cell.

Properties​

Bottom​

Gets or sets the bottom padding value for the cell.

public Nullable&ltfloat> Bottom { get; set; }
Public Property Bottom As Nullable(Of Single)

Property Value​

Nullable&ltfloat>

Left​

Gets or sets the left padding value for the cell.

public Nullable&ltfloat> Left { get; set; }
Public Property Left As Nullable(Of Single)

Property Value​

Nullable&ltfloat>

Gets or sets the right padding value for the cell.

public Nullable&ltfloat> Right { get; set; }
Public Property Right As Nullable(Of Single)

Property Value​

Nullable&ltfloat>

Top​

Gets or sets the top padding value for the cell.

public Nullable&ltfloat> Top { get; set; }
Public Property Top As Nullable(Of Single)

Property Value​

Nullable&ltfloat>

Value​

Gets or sets the value of the cell padding.

public Nullable&ltfloat> Value { get; set; }
Public Property Value As Nullable(Of Single)

Property Value​

Nullable&ltfloat>

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​

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​

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 .

See Also​

ceTe.DynamicPDF.PageElements