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

Class PdfExtractionImageRecord

Immutable extracted image record.

Inheritance
object
PdfExtractionContentRecord
PdfExtractionImageRecord
Inherited Members
PdfExtractionContentRecord.SourceId
PdfExtractionContentRecord.SourceOrder
PdfExtractionContentRecord.Provenance
PdfExtractionContentRecord.Kind
PdfExtractionContentRecord.Bounds
PdfExtractionContentRecord.UserSpaceBounds
PdfExtractionContentRecord.RotatedBounds
PdfExtractionContentRecord.NormalizedBounds
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Extraction
Assembly: DRIT.Pdf.dll
Syntax
public sealed class PdfExtractionImageRecord : PdfExtractionContentRecord

Properties

CanExport

Gets whether a detached PNG or JPEG snapshot is available.

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

ExportFormat

Snapshot export format used by this projection.

Declaration
public ImageSaveFormat ExportFormat { get; }
Property Value
Type Description
ImageSaveFormat

ExportedByteCount

Length of the detached image snapshot in bytes, or zero if unavailable.

Declaration
public int ExportedByteCount { get; }
Property Value
Type Description
int

MimeType

Snapshot export MIME type.

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

PixelHeight

Pixel height.

Declaration
public double PixelHeight { get; }
Property Value
Type Description
double

PixelSize

Decoded image pixel dimensions.

Declaration
public PdfSize PixelSize { get; }
Property Value
Type Description
PdfSize

PixelWidth

Pixel width.

Declaration
public double PixelWidth { get; }
Property Value
Type Description
double

Size

Alias for PixelSize.

Declaration
public PdfSize Size { get; }
Property Value
Type Description
PdfSize

Methods

ReadBytes()

Returns a defensive copy of the detached PNG snapshot.

Declaration
public byte[] ReadBytes()
Returns
Type Description
byte[]

Save(Stream)

Writes the detached PNG snapshot to a writable stream. The destination is never owned or disposed by this method.

Declaration
public void Save(Stream destination)
Parameters
Type Name Description
Stream destination
Back to top

DR-IT Software documentation

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

Generated by DocFX