Class PdfLayoutImagePrimitive
Normalized image primitive. Pixel data remains owned by the PDF source.
Inherited Members
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfLayoutImagePrimitive : PdfLayoutPrimitive
Constructors
PdfLayoutImagePrimitive(string, string, PdfRect, PdfLayoutRect, double, double, bool)
Initializes a new PdfLayoutImagePrimitive from normalized PDF extraction data.
Declaration
public PdfLayoutImagePrimitive(string id, string sourceId, PdfRect sourceBounds, PdfLayoutRect bounds, double pixelWidth, double pixelHeight, bool isSanitized)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | |
| string | sourceId | |
| PdfRect | sourceBounds | |
| PdfLayoutRect | bounds | |
| double | pixelWidth | |
| double | pixelHeight | |
| bool | isSanitized |
Properties
PixelHeight
Gets the rasterized image height in pixels.
Declaration
public double PixelHeight { get; }
Property Value
| Type | Description |
|---|---|
| double |
PixelWidth
Gets the rasterized image width in pixels.
Declaration
public double PixelWidth { get; }
Property Value
| Type | Description |
|---|---|
| double |