Frontières

Vue de l’ensemble

‘Border’ est une classe dans Aspose.PDF FOSS pour Java.

Il représente la limite d’un champ d’anotation ou de formulaire (ISO 32000-1:2008, §12.5.4).

Cette classe fournit 8 méthodes pour travailler avec les objets de frontière dans les programmes Java. Les méthodologies disponibles comprennent: ‘Border’, ‘getDash’, getStyle', ‘getWidth’, 'setDath', ’setSstyle, ‘setWitth’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘dash , 'style et ‘width`.

Propriétés

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

méthodes

SignatureDescription
Border(parent: Annotation)Constructs a border for the specified annotation.
Border(option: RadioButtonOptionField)Constructs a border bound to a {@link RadioButtonOptionField}.
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.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français