Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLogicalImage

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Image XObject entry in the logical page model.

Inheritance

  • object
  • PdfLogicalImage

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 5 API references to this type

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

Returned or exposed by 3

Accepted by parameters 2

Properties

public int PageNumber { get; } #

One-based source page number.

public PdfLogicalElementKind Kind { get; } #

Element kind.

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 IReadOnlyList<PdfUnderstandingImageRegion> Regions { get; } #

Semantic regions for this resource's placement invocations.

public int PlacementCount { get; } #

Number of placement invocations detected for this image resource.

public bool 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 PdfUnderstandingImageRegion? PrimaryRegion { get; } #

Semantic region for the first placement, when analysis produced one.

public double? PlacedX { get; } #

Left edge of the first detected placement in page user-space units, or null when placement geometry is unavailable.

public double? PlacedY { get; } #

Bottom edge of the first detected placement in page user-space units, or null when placement geometry is unavailable.

public double? PlacedWidth { get; } #

Width of the first detected placement in page user-space units, or null when placement geometry is unavailable.

public double? PlacedHeight { get; } #

Height of the first detected placement in page user-space units, or null when placement geometry is unavailable.

public string ResourceName { get; } #

PDF image resource name.

public int Width { get; } #

Image width in pixels.

public int Height { get; } #

Image height in pixels.

public string? MimeType { get; } #

Suggested MIME type when bytes are a complete image file.