SaveOptions.BorderPartStyle

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

ConstructorDescription
BorderPartStyle

Methods

MethodDescription
getColorRepresents border line’s line color
getLineTypeRepresents border line’s type - f.e. Dashed or Solid
getWidthInPointsRepresents border line’s width in points. Must be number greater then zero.
setColorRepresents border line’s line color
setLineTypeRepresents border line’s type - f.e.
setWidthInPointsRepresents 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:

ParameterTypeDescription
valueint value