Aspose::Pdf::ImagePlacementAbsorber class

ImagePlacementAbsorber class

Represents an absorber object of image placement objects. Performs search of image usages and provides access to search results via ImagePlacementAbsorber::ImagePlacements collection.

class ImagePlacementAbsorber : public System::Object

Methods

MethodDescription
get_ImagePlacements()Gets collection of image placement occurrences that are presented with ImagePlacement objects.
get_IsReadOnlyMode() constGets/sets read only mode for parsing operations collection. It may help against out of memory exceptions.
ImagePlacementAbsorber()Initializes new instance of the ImagePlacementAbsorber object.
set_IsReadOnlyMode(bool)Gets/sets read only mode for parsing operations collection. It may help against out of memory exceptions.
Visit(System::SharedPtr<Page>)Performs search on the specified page.
Visit(System::SharedPtr<Document>)Performs search on the specified document.

Remarks

The ImagePlacementAbsorber object is basically used in images search scenario. When the search is completed the occurrences are represented with ImagePlacement objects that the ImagePlacementAbsorber::ImagePlacements collection contains. The ImagePlacement object provides access to the image placement properties: dimensions, resolution etc. Image positive rotation is counterclockwise, for the page, it is clockwise. Here, we need to represent the image rotation angle, so we deduct the page angle from the image angle.

See Also