API Reference

Class

PdfLogicalImage

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Image XObject entry in the logical page model.

Inheritance

  • Object
  • PdfLogicalImage

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Properties

public virtual PdfLogicalElementKind Kind { get; } #
public PdfExtractedImage SourceImage { get; } #

Underlying extracted image payload and metadata.

public IReadOnlyList<PdfImagePlacement> Placements { get; } #

Placement invocations for this image resource on the page.

public Int32 PlacementCount { get; } #

Number of placement invocations detected for this image resource.

public Boolean HasPlacements { get; } #

True when at least one placement invocation was detected for this image.

public PdfImagePlacement PrimaryPlacement { get; } #

First detected placement invocation for this image resource, or null when placement geometry is unavailable.

public Nullable<Double> PlacedX { get; } #

Left edge of the first detected placement in PDF points, or null when placement geometry is unavailable.

public Nullable<Double> PlacedY { get; } #

Bottom edge of the first detected placement in PDF points, or null when placement geometry is unavailable.

public Nullable<Double> PlacedWidth { get; } #

Width of the first detected placement in PDF points, or null when placement geometry is unavailable.

public Nullable<Double> PlacedHeight { get; } #

Height of the first detected placement in PDF points, or null when placement geometry is unavailable.

public String ResourceName { get; } #

PDF image resource name.

public Int32 Width { get; } #

Image width in pixels.

public Int32 Height { get; } #

Image height in pixels.

public String MimeType { get; } #

Suggested MIME type when bytes are a complete image file.