java.lang.Objectcom.aspose.words.HorizontalRuleFormat
public class HorizontalRuleFormat
Property Getters/Setters Summary | ||
---|---|---|
int | getAlignment() | |
void | setAlignment(int value) | |
Gets or sets the alignment of the horizontal rule. The value of the property is HorizontalRuleAlignment integer constant. | ||
java.awt.Color | getColor() | |
void | setColor(java.awt.Color value) | |
Gets or sets the brush color that fills the horizontal rule. | ||
double | getHeight() | |
void | setHeight(double value) | |
Gets or sets the height of the horizontal rule. | ||
boolean | getNoShade() | |
void | setNoShade(boolean value) | |
Indicates the presence of 3D shading for the horizontal rule. If true, then the horizontal rule is without 3D shading and solid color is used. | ||
double | getWidthPercent() | |
void | setWidthPercent(double value) | |
Gets or sets the length of the specified horizontal rule expressed as a percentage of the window width. |
Property Getters/Setters Detail |
---|
getAlignment/setAlignment | |
public int getAlignment() / public void setAlignment(int value) |
The default value is
getColor/setColor | |
public java.awt.Color getColor() / public void setColor(java.awt.Color value) |
This is a shortcut to the
The default value is
getHeight/setHeight | |
public double getHeight() / public void setHeight(double value) |
This is a shortcut to the
Valid values range from 0 to 1584 inclusive.
The default value is 1.5.
getNoShade/setNoShade | |
public boolean getNoShade() / public void setNoShade(boolean value) |
The default value is false.
getWidthPercent/setWidthPercent | |
public double getWidthPercent() / public void setWidthPercent(double value) |
Valid values range from 1 to 100 inclusive.
The default value is 100.