SaveOptions.BorderPartStyle
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.SaveOptions.BorderPartStyle
public static class SaveOptions.BorderPartStyle extends Object
Represents information of one part of border(top, bottom, left side or right side)
Constructors
| Constructor | Description |
|---|---|
| BorderPartStyle |
Methods
| Method | Description |
|---|---|
| getColor | Represents border line’s line color |
| getLineType | Represents border line’s type - f.e. Dashed or Solid |
| getWidthInPoints | Represents border line’s width in points. Must be number greater then zero. |
| setColor | Represents border line’s line color |
| setLineType | Represents border line’s type - f.e. |
| setWidthInPoints | Represents border line’s width in points. Must be number greater then zero. |
BorderPartStyle
public BorderPartStyle()
getColor
public Color getColor()
Represents border line’s line color
Returns: java.awt.Color instance
getLineType
public SaveOptions.HtmlBorderLineType getLineType()
Represents border line’s type - f.e. Dashed or Solid
Returns: HtmlBorderLineType element @see HtmlBorderLineType
getWidthInPoints
public int getWidthInPoints()
Represents border line’s width in points. Must be number greater then zero.
Returns: int value
setColor
Represents border line’s line color
setLineType
Represents border line’s type - f.e.
setWidthInPoints
public void setWidthInPoints(int value)
Represents border line’s width in points. Must be number greater then zero.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |