Modifier and Type | Field and Description |
---|---|
static Padding |
EMPTY
Provides a Padding object with no padding.
|
Constructor and Description |
---|
Padding()
Initializes a new instance of Padding class using zero values.
|
Padding(int all)
Initializes a new instance of the System.Windows.Forms.Padding class using
the supplied padding size for all edges.
|
Padding(int left,
int right,
int top,
int bottom)
Initializes a new instance of the System.Windows.Forms.Padding class using
the supplied padding sizes.
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Gets a copy of this object.
|
int |
getAll()
Gets or sets the padding value for all the edges.
|
int |
getBottom()
Gets or sets the padding value for the bottom edge.
|
int |
getHorizontal()
Gets the combined padding for the right and left edges.
|
int |
getLeft()
Gets or sets the padding value for the left edge.
|
int |
getRight()
Gets or sets the padding value for the right edge.
|
int |
getTop()
Gets or sets the padding value for the top edge.
|
int |
getVertical()
Gets the combined padding for the top and bottom edges.
|
protected Object |
memberwiseClone() |
void |
setAll(int value)
Gets or sets the padding value for all the edges.
|
void |
setBottom(int value)
Gets or sets the padding value for the bottom edge.
|
void |
setLeft(int value)
Gets or sets the padding value for the left edge.
|
void |
setRight(int value)
Gets or sets the padding value for the right edge.
|
void |
setTop(int value)
Gets or sets the padding value for the top edge.
|
String |
toString()
Overrides conversion to string
|
public static final Padding EMPTY
Provides a Padding object with no padding.
public Padding()
Initializes a new instance of Padding class using zero values.
public Padding(int all)
Initializes a new instance of the System.Windows.Forms.Padding class using the supplied padding size for all edges.
all
- The number of measure units to be used for padding for all edges.public Padding(int left, int right, int top, int bottom)
Initializes a new instance of the System.Windows.Forms.Padding class using the supplied padding sizes.
left
- The left padding size.right
- The right padding size.top
- The top padding size.bottom
- The bottom padding size.public Object deepClone()
Gets a copy of this object.
deepClone
in interface com.aspose.ms.System.ICloneable
public int getAll()
Gets or sets the padding value for all the edges. Changing of any partial edge like left or top makes this property equal 0;
public int getBottom()
Gets or sets the padding value for the bottom edge.
public int getHorizontal()
Gets the combined padding for the right and left edges.
public int getLeft()
Gets or sets the padding value for the left edge.
public int getRight()
Gets or sets the padding value for the right edge.
public int getTop()
Gets or sets the padding value for the top edge.
public int getVertical()
Gets the combined padding for the top and bottom edges.
protected Object memberwiseClone()
public void setAll(int value)
Gets or sets the padding value for all the edges. Changing of any partial edge like left or top makes this property equal 0;
public void setBottom(int value)
Gets or sets the padding value for the bottom edge.
public void setLeft(int value)
Gets or sets the padding value for the left edge.
public void setRight(int value)
Gets or sets the padding value for the right edge.
public void setTop(int value)
Gets or sets the padding value for the top edge.
Copyright © 2018. All rights reserved.