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.
|
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.
|
boolean |
isSet() |
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 pixels to be used for padding for all edges.public int getAll()
Gets or sets the padding value for all the edges.
public void setAll(int value)
Gets or sets the padding value for all the edges.
public int getBottom()
Gets or sets the padding value for the bottom edge.
public void setBottom(int value)
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 void setLeft(int value)
Gets or sets the padding value for the left edge.
public int getRight()
Gets or sets the padding value for the right edge.
public void setRight(int value)
Gets or sets the padding value for the right edge.
public int getTop()
Gets or sets the padding value for the top edge.
public void setTop(int value)
Gets or sets the padding value for the top edge.
public int getVertical()
Gets the combined padding for the top and bottom edges.
public Object deepClone()
Gets a copy of this object.
deepClone
in interface com.aspose.ms.System.ICloneable
public boolean isSet()
public String toString()
Overrides conversion to string
protected Object memberwiseClone()
Copyright © 2017. All rights reserved.