ContentsResizeParameters

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

NameTypeAccessDescription
leftMarginContentsResizeValueReadGets the left margin value.
rightMarginContentsResizeValueReadGets the right margin value.
topMarginContentsResizeValueReadGets the top margin value.
bottomMarginContentsResizeValueReadGets the bottom margin value.
contentsWidthContentsResizeValueReadGets the contents width value.
contentsHeightContentsResizeValueReadGets the contents height value.

méthodes

SignatureDescription
ContentsResizeParameters(leftMargin: ContentsResizeValue, contentsWidth: ContentsResizeValue, rightMargin: ContentsResizeValue, topMargin: ContentsResizeValue, contentsHeight: ContentsResizeValue, bottomMargin: ContentsResizeValue)Creates resize parameters with the specified margins and content dimensions.
getLeftMargin()ContentsResizeValueGets the left margin value.
getRightMargin()ContentsResizeValueGets the right margin value.
getTopMargin()ContentsResizeValueGets the top margin value.
getBottomMargin()ContentsResizeValueGets the bottom margin value.
getContentsWidth()ContentsResizeValueGets the contents width value.
getContentsHeight()ContentsResizeValueGets 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)ContentsResizeParametersCreates a {@code ContentsResizeParameters} with the specified content
dimensions and zero margins.

Voir aussi

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