XImage

Overview

XImage is a class in Aspose.PDF FOSS for C++.

XImage exposes the pixel dimensions of an image via Width() and Height() methods.

This class declares 7 methods for XImage objects in C++ programs. Available methods include: ContainsTransparency, GetRawImageData, Height, ImageMask, Name, Width. Public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
Width() → intCalls Width on this XImage instance.
Height() → intCalls Height on this XImage instance.
Name() → std::stringCalls Name on this XImage instance.
Name(value: std::string)Calls Name(value) on this XImage instance.
ContainsTransparency() → boolCalls ContainsTransparency on this XImage instance.
ImageMask() → boolCalls ImageMask on this XImage instance.
GetRawImageData() → std::vector<std::byte>Returns the raw image data.

See Also

 English