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

Class PdfLayoutPrimitive

Base immutable primitive in normalized page coordinates.

Inheritance
object
PdfLayoutPrimitive
PdfLayoutImagePrimitive
PdfLayoutPathPrimitive
PdfLayoutTextPrimitive
PdfLayoutUnknownPrimitive
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public abstract class PdfLayoutPrimitive

Constructors

PdfLayoutPrimitive(string, string, PdfLayoutPrimitiveKind, PdfRect, PdfLayoutRect, bool)

Initializes a new PdfLayoutPrimitive from normalized PDF extraction data.

Declaration
protected PdfLayoutPrimitive(string id, string sourceId, PdfLayoutPrimitiveKind kind, PdfRect sourceBounds, PdfLayoutRect bounds, bool isSanitized)
Parameters
Type Name Description
string id
string sourceId
PdfLayoutPrimitiveKind kind
PdfRect sourceBounds
PdfLayoutRect bounds
bool isSanitized

Properties

Bounds

Gets the normalized page-space bounds of the represented content.

Declaration
public PdfLayoutRect Bounds { get; }
Property Value
Type Description
PdfLayoutRect

Id

Gets the stable identifier assigned to this layout item.

Declaration
public string Id { get; }
Property Value
Type Description
string

IsSanitized

Gets whether this primitive was created from sanitized source values.

Declaration
public bool IsSanitized { get; }
Property Value
Type Description
bool

Kind

Gets the primitive kind represented by this layout item.

Declaration
public PdfLayoutPrimitiveKind Kind { get; }
Property Value
Type Description
PdfLayoutPrimitiveKind

SourceBounds

Gets the source PDF bounds associated with the diagnostic, when available.

Declaration
public PdfRect SourceBounds { get; }
Property Value
Type Description
PdfRect

SourceId

Gets the source object identifier retained with this layout item.

Declaration
public string SourceId { get; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

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

Generated by DocFX