Aspose::Pdf::Image class

Image class

Represents image.

class Image : public Aspose::Pdf::BaseParagraph

Methods

MethodDescription
BaseParagraph()
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.
virtual get_HorizontalAlignment()Gets a horizontal alignment of paragraph.
virtual get_Hyperlink()Gets the fragment hyperlink(for pdf generator).
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_IsFirstParagraphInColumn() constGets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
get_IsInLineParagraph() constGets a paragraph is inline. Default is false.(for pdf generation)
get_IsInNewPage() constGets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
get_IsKeptWithNext() constGets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
get_Margin()Gets a outer margin for paragraph (for pdf generation)
get_Title() constGets a string value that indicates the title of the image.
virtual get_VerticalAlignment()Gets a vertical alignment of paragraph.
get_ZIndex() constGets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.
static GetMimeType(System::SharedPtr<System::Drawing::Image>)Returns mime type for image.
Image()
set_BitmapInfo(System::SharedPtr<Aspose::Pdf::BitmapInfo>)Sets uncompressed image bytes.
set_File(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.
virtual set_HorizontalAlignment(Aspose::Pdf::HorizontalAlignment)Sets a horizontal alignment of paragraph.
virtual set_Hyperlink(System::SharedPtr<Aspose::Pdf::Hyperlink>)Sets the fragment hyperlink(for pdf generator).
set_ImageScale(double)Sets the image scale.
set_ImageStream(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_IsFirstParagraphInColumn(bool)Sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
set_IsInLineParagraph(bool)Sets a paragraph is inline. Default is false.(for pdf generation)
set_IsInNewPage(bool)Sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
set_IsKeptWithNext(bool)Sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
set_Margin(System::SharedPtr<MarginInfo>)Sets a outer margin for paragraph (for pdf generation)
set_Title(System::SharedPtr<Text::TextFragment>)Sets a string value that indicates the title of the image.
virtual set_VerticalAlignment(Aspose::Pdf::VerticalAlignment)Sets a vertical alignment of paragraph.
set_ZIndex(int32_t)Sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.

See Also