Image

Overview

Image is a class in Aspose.PDF FOSS for .NET. Inherits from: BaseParagraph.

Image compositing can be customized using the BlendMode enumeration, which includes common blend operations such as Multiply and Screen.

This class provides 2 methods for working with Image objects in .NET programs. Available methods include: Clone, GetMimeType. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: BitmapInfo, BitmapSize, File, FileType, FixHeight, FixWidth, and 16 more.

Properties

NameTypeAccessDescription
MarginMarginInfoRead/WriteOuter margins.
ImageStreamStreamRead/WriteGets or sets the image stream.
FilestringRead/WriteGets or sets the file.
FixWidthdoubleRead/WriteGets or sets the fix width.
FixHeightdoubleRead/WriteGets or sets the fix height.
ImageScaledoubleRead/WriteGets or sets the image scale.
IsBlackWhiteboolRead/WriteGets or sets the is black white.
IsApplyResolutionboolRead/WriteGets or sets the is apply resolution.
TitleAspose.Pdf.Text.TextFragmentRead/WriteGets or sets the title.
BitmapSizeAspose.Pdf.RectangleReadGets the bitmap size.
ImageFilterTypeImageFilterTypeRead/WriteGets or sets the image filter type.
BitmapInfoBitmapInfoRead/WriteOptional in-memory pixel buffer.
FileTypeImageFileTypeRead/WriteSource file format hint.
HorizontalAlignmentHorizontalAlignmentRead/WriteHorizontal alignment applied to this paragraph.
VerticalAlignmentVerticalAlignmentRead/WriteVertical alignment applied to this paragraph.
IsFirstParagraphInColumnboolRead/WriteForce the paragraph to start a new column.
IsKeptWithNextboolRead/WriteKeep this paragraph on the same page as the next one.
IsInNewPageboolRead/WriteForce the paragraph to start on a new page.
IsInLineParagraphboolRead/WriteInline paragraph flag (does not start a new line).
HyperlinkTextstring?Read/WriteLegacy string-typed hyperlink target.
HyperlinkHyperlink?Read/WriteTyped hyperlink decoration applied to the paragraph.
ZIndexintRead/WriteZ-order index used by the DOM renderer.

Methods

SignatureDescription
Clone()Calls Clone on this Image instance.
GetMimeType(i: System.Drawing.Image)Best-effort MIME type for a System.Drawing.Image; returns “application/octet-stream” when the type cannot be determined.

See Also