Border

Overview

Border is a class in Aspose.Pdf FOSS for Java.

Represents the border of an annotation or form field (ISO 32000-1:2008, §12.5.4).

Properties

NameTypeAccessDescription
widthdoubleReadReturns the border width in points.
styleBorderStyleReadReturns the border style.
dashint[]ReadReturns the dash pattern array for dashed borders.

Methods

SignatureDescription
Border(parent: Annotation)Constructs a border for the specified annotation.
getWidth()doubleReturns the border width in points.
setWidth(width: double)Sets the border width in points.
getStyle()BorderStyleReturns the border style.
setStyle(style: BorderStyle)Sets the border style.
getDash()int[]Returns the dash pattern array for dashed borders.
setDash(dash: int[])Sets the dash pattern array for dashed borders.

See Also