Aspose::Pdf::Image class

Image class

Represents image.

class Image : public Aspose::Pdf::BaseParagraph

Methods

MethodDescription
Clone() overrideClone the image.
get_BitmapInfo() constGets uncompressed image bytes.
get_BitmapSize()Gets the image bitmap size.
get_File() constGets the image file.
get_FileType() constGets the image file type.
get_FixHeight() constGets the image height.
get_FixWidth() constGets the image width.
get_ImageScale() constGets the image scale.
get_ImageStream() constGets the image stream.
get_IsApplyResolution() constGets a bool value that indicates whether the image use resolution during generation.
get_IsBlackWhite() constGets a bool value that indicates whether the image is forced to be black-and-white. If TIFF image of CCITT subformat is used, this property must be set to true.
get_Title() constGets a string value that indicates the title of the image.
static GetMimeType(const System::SharedPtr<System::Drawing::Image>&)Returns mime type for image.
Image()
set_BitmapInfo(const System::SharedPtr<Aspose::Pdf::BitmapInfo>&)Sets uncompressed image bytes.
set_File(const System::String&)Sets the image file.
set_FileType(ImageFileType)Sets the image file type.
set_FixHeight(double)Sets the image height.
set_FixWidth(double)Sets the image width.
set_ImageScale(double)Sets the image scale.
set_ImageStream(const System::SharedPtr<System::IO::Stream>&)Sets the image stream.
set_IsApplyResolution(bool)Sets a bool value that indicates whether the image use resolution during generation.
set_IsBlackWhite(bool)Sets a bool value that indicates whether the image is forced to be black-and-white. If TIFF image of CCITT subformat is used, this property must be set to true.
set_Title(const System::SharedPtr<Text::TextFragment>&)Sets a string value that indicates the title of the image.

See Also