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
| Name | Type | Access | Description |
|---|---|---|---|
width | double | Read | Returns the border width in points. |
style | BorderStyle | Read | Returns the border style. |
dash | int[] | Read | Returns the dash pattern array for dashed borders. |
méthodes
| Signature | Description |
|---|---|
Border(parent: Annotation) | Constructs a border for the specified annotation. |
Border(option: RadioButtonOptionField) | Constructs a border bound to a {@link RadioButtonOptionField}. |
getWidth() → double | Returns the border width in points. |
setWidth(width: double) | Sets the border width in points. |
getStyle() → BorderStyle | Returns 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