MarginInfo
Vue de l’ensemble
‘MarginInfo’ est une classe dans Aspose.PDF FOSS pour Java.
Il représente des informations de marge pour un élément de contenu.
Cette classe fournit 13 méthodes pour travailler avec les objets MarginInfo dans des programmes Java. Les méthodologies disponibles comprennent: ‘MarginInFO’, ‘getBottom’, getLeft', ‘getRight’, 'tetTop', ’setB bottom', ‚setLef', ''setRighte',''setTop, ’toString’. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘bottom , 'left ; ‘right et 'top.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
top | double | Read | Gets the top margin value. |
bottom | double | Read | Gets the bottom margin value. |
left | double | Read | Gets the left margin value. |
right | double | Read | Gets the right margin value. |
méthodes
| Signature | Description |
|---|---|
MarginInfo() | Creates a MarginInfo with all margins set to 0. |
MarginInfo(left: double, bottom: double, right: double, top: double) | Creates a MarginInfo with the specified margin values for each side. |
MarginInfo(all: double) | Creates a MarginInfo with all four margins set to the same value. |
getTop() → double | Gets the top margin value. |
setTop(top: double) | Sets the top margin value. |
getBottom() → double | Gets the bottom margin value. |
setBottom(bottom: double) | Sets the bottom margin value. |
getLeft() → double | Gets the left margin value. |
setLeft(left: double) | Sets the left margin value. |
getRight() → double | Gets the right margin value. |
setRight(right: double) | Sets the right margin value. |
toString() → String | |
MarginInfo(top: double, bottom: double, left: double, right: double) | Creates a MarginInfo with the specified values. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise