Aspose::Pdf::ImagePlacement class

ImagePlacement class

Represents characteristics of an image placed to Pdf document page.

class ImagePlacement : public System::Object

Methods

MethodDescription
get_CompositingParameters() constGets compositing parameters of graphics state active for the image placed to the page.
get_Image() constGets related XImage resource object.
get_Matrix() constCurrent transformation matrix for this image.
get_Operator() constOperator used for displaying the image.
get_Page() constGets the page containing the image.
get_Rectangle() constGets rectangle of the Image.
get_Resolution() constGets resolution of the Image.
get_Rotation() constGets rotation angle of the Image.
Hide()Delete image from the page.
Replace(const System::SharedPtr<System::IO::Stream>&)Replace image in collection with another image.
Save(const System::SharedPtr<System::IO::Stream>&)Saves image with corresponding transformations: scaling, rotation and resolution.
Save(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::Drawing::Imaging::ImageFormat>&)Saves image with corresponding transformations: scaling, rotation and resolution.

Remarks

When an image is placed to a page it may have dimensions other than physical dimensions defined in Resources. The object ImagePlacement is intended to provide such information like dimensions, resolution and so on.

See Also