[]
Initializes a new instance of the CellPadding class.
public CellPadding()
Public Sub New()
Initializes a new instance of the CellPadding class.
public CellPadding(int all)
Public Sub New(all As Integer)
Type | Name | Description |
---|---|---|
int | all | The padding value, in pixels, for all edges. |
Initializes a new instance of the CellPadding class.
public CellPadding(CellPadding cellPadding)
Public Sub New(cellPadding As CellPadding)
Type | Name | Description |
---|---|---|
CellPadding | cellPadding | The instance of CellPadding class that initializes the new instance. |
Initializes a new instance of the CellPadding class.
public CellPadding(int left, int top, int right, int bottom)
Public Sub New(left As Integer, top As Integer, right As Integer, bottom As Integer)
Type | Name | Description |
---|---|---|
int | left | The padding value, in pixels, for left edge. |
int | top | The padding value, in pixels, for top edge. |
int | right | The padding value, in pixels, for right edge. |
int | bottom | The padding value, in pixels, for bottom edge. |
Creates a new instance of the CellPadding class from serialization.
protected CellPadding(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | Serialization information |
StreamingContext | context | Streaming context |