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
| Name | Type | Access | Description |
|---|---|---|---|
Margin | MarginInfo | Read/Write | Outer margins. |
ImageStream | Stream | Read/Write | Gets or sets the image stream. |
File | string | Read/Write | Gets or sets the file. |
FixWidth | double | Read/Write | Gets or sets the fix width. |
FixHeight | double | Read/Write | Gets or sets the fix height. |
ImageScale | double | Read/Write | Gets or sets the image scale. |
IsBlackWhite | bool | Read/Write | Gets or sets the is black white. |
IsApplyResolution | bool | Read/Write | Gets or sets the is apply resolution. |
Title | Aspose.Pdf.Text.TextFragment | Read/Write | Gets or sets the title. |
BitmapSize | Aspose.Pdf.Rectangle | Read | Gets the bitmap size. |
ImageFilterType | ImageFilterType | Read/Write | Gets or sets the image filter type. |
BitmapInfo | BitmapInfo | Read/Write | Optional in-memory pixel buffer. |
FileType | ImageFileType | Read/Write | Source file format hint. |
HorizontalAlignment | HorizontalAlignment | Read/Write | Horizontal alignment applied to this paragraph. |
VerticalAlignment | VerticalAlignment | Read/Write | Vertical alignment applied to this paragraph. |
IsFirstParagraphInColumn | bool | Read/Write | Force the paragraph to start a new column. |
IsKeptWithNext | bool | Read/Write | Keep this paragraph on the same page as the next one. |
IsInNewPage | bool | Read/Write | Force the paragraph to start on a new page. |
IsInLineParagraph | bool | Read/Write | Inline paragraph flag (does not start a new line). |
HyperlinkText | string? | Read/Write | Legacy string-typed hyperlink target. |
Hyperlink | Hyperlink? | Read/Write | Typed hyperlink decoration applied to the paragraph. |
ZIndex | int | Read/Write | Z-order index used by the DOM renderer. |
Methods
| Signature | Description |
|---|---|
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. |