ImagePlacement

Vue de l’ensemble

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

Il décrit la position d’une image sur une page PDF.

Cette classe fournit 6 méthodes pour travailler avec les objets ImagePlacement dans les programmes Java. Les méthodologies disponibles comprennent: ‘ImagePlation’, ‘getImages’, getMatrix', ‘getPage’, 'gettRectangle', ’getResolution'. 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 : 'image, ‘matrix , 'page et ‘rectangles`.

Propriétés

NameTypeAccessDescription
imageXImageReadReturns the placed image.
matrixMatrixReadReturns the CTM at the point of rendering.
rectangleRectangleReadReturns the bounding rectangle of the image on the page (in page coordinates).
pagePageReadReturns the page containing this image placement.
resolutiondoubleReadReturns the horizontal resolution in DPI.

méthodes

SignatureDescription
ImagePlacement(image: XImage, matrix: Matrix, page: Page)Creates an ImagePlacement.
getImage()XImageReturns the placed image.
getMatrix()MatrixReturns the CTM at the point of rendering.
getRectangle()RectangleReturns the bounding rectangle of the image on the page (in page coordinates).
getPage()PageReturns the page containing this image placement.
getResolution()doubleReturns the horizontal resolution in DPI.

Voir aussi

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