• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PdfLayoutImagePrimitive

Normalized image primitive. Pixel data remains owned by the PDF source.

Inheritance
object
PdfLayoutPrimitive
PdfLayoutImagePrimitive
Inherited Members
PdfLayoutPrimitive.Id
PdfLayoutPrimitive.SourceId
PdfLayoutPrimitive.Kind
PdfLayoutPrimitive.SourceBounds
PdfLayoutPrimitive.Bounds
PdfLayoutPrimitive.IsSanitized
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX