ContentsResizeParameters
Vue de l’ensemble
‘ContentsResizeParameters’ est une classe dans Aspose.PDF FOSS pour Java.
Paramètres pour la révision des contenus de page.
Cette classe fournit 14 méthodes pour travailler avec des objets de contenuResizeParameters dans les programmes Java. Les méthodologies disponibles comprennent: ContentsResisePametters, getBottomMargin , getContentHeight,, ‘getContantsWidth., GetLeftMargine', gettRightM argine‘, ‘getteTopMargent pageResice 'setBottomMalgine' , 'SetContentesHeigh ’setContensWideet 2 méthode supplémentaires. 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 :bottomMargins,contents Height ́s Contents Wid, ‘Markine’, 'marginttop.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
leftMargin | ContentsResizeValue | Read | Gets the left margin value. |
rightMargin | ContentsResizeValue | Read | Gets the right margin value. |
topMargin | ContentsResizeValue | Read | Gets the top margin value. |
bottomMargin | ContentsResizeValue | Read | Gets the bottom margin value. |
contentsWidth | ContentsResizeValue | Read | Gets the contents width value. |
contentsHeight | ContentsResizeValue | Read | Gets the contents height value. |
méthodes
| Signature | Description |
|---|---|
ContentsResizeParameters(leftMargin: ContentsResizeValue, contentsWidth: ContentsResizeValue, rightMargin: ContentsResizeValue, topMargin: ContentsResizeValue, contentsHeight: ContentsResizeValue, bottomMargin: ContentsResizeValue) | Creates resize parameters with the specified margins and content dimensions. |
getLeftMargin() → ContentsResizeValue | Gets the left margin value. |
getRightMargin() → ContentsResizeValue | Gets the right margin value. |
getTopMargin() → ContentsResizeValue | Gets the top margin value. |
getBottomMargin() → ContentsResizeValue | Gets the bottom margin value. |
getContentsWidth() → ContentsResizeValue | Gets the contents width value. |
getContentsHeight() → ContentsResizeValue | Gets the contents height value. |
setLeftMargin(v: ContentsResizeValue) | Sets the left margin value. |
setRightMargin(v: ContentsResizeValue) | Sets the right margin value. |
setTopMargin(v: ContentsResizeValue) | Sets the top margin value. |
setBottomMargin(v: ContentsResizeValue) | Sets the bottom margin value. |
setContentsWidth(v: ContentsResizeValue) | Sets the contents width value. |
setContentsHeight(v: ContentsResizeValue) | Sets the contents height value. |
pageResize(width: double, height: double) → ContentsResizeParameters | Creates a {@code ContentsResizeParameters} with the specified content |
| dimensions and zero margins. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise