Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfImagePlacement

OfficeIMO.Pdf

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

Placement geometry for one image XObject invocation on a PDF page.

Inheritance

  • object
  • PdfImagePlacement

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 14 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.

Accepted by parameters 5

Properties

public int PageNumber { get; } #

One-based source page number containing the image invocation.

public string ResourceName { get; } #

Image resource name from the page or form XObject resource dictionary.

public int ObjectNumber { get; } #

PDF object number for the image stream, or 0 when the image is direct.

public double? EffectiveDpiX { get; } #

Horizontal image pixels per physical inch along the transformed image X axis, when measurable.

public double? EffectiveDpiY { get; } #

Vertical image pixels per physical inch along the transformed image Y axis, when measurable.

public double A { get; } #

Current transformation matrix A component at the image invocation.

public double B { get; } #

Current transformation matrix B component at the image invocation.

public double C { get; } #

Current transformation matrix C component at the image invocation.

public double D { get; } #

Current transformation matrix D component at the image invocation.

public double E { get; } #

Current transformation matrix E translation component at the image invocation.

public double F { get; } #

Current transformation matrix F translation component at the image invocation.

public double X { get; } #

Left edge of the placement bounding box in page user-space units.

public double Y { get; } #

Bottom edge of the placement bounding box in page user-space units.

public double Width { get; } #

Bounding-box width in page user-space units.

public double Height { get; } #

Bounding-box height in page user-space units.

public PdfImageClipInfo? Clip { get; } #

Effective clipping path applied to this image placement, when present.

public OfficeColor ImageMaskColor { get; } #

Paint color applied to a stencil image mask.

public double? ImageOpacity { get; } #

Authored or inherited nondefault opacity, or null when the effective opacity is one.

public double? AuthoredOpacity { get; } #

Authored or inherited nondefault opacity, or null when the effective opacity is one.

public double Opacity { get; } #

Effective image opacity from zero through one.

public double PaintOrder { get; } #

Stable page-content paint order used to interleave images with other recovered primitives.

public int? MarkedContentId { get; } #

Active content-stream-scoped marked-content identifier from a tagged PDF, when present.

public int? ContentStreamObjectNumber { get; } #

Form XObject or other content-stream object owning the MCID, or null for page content.

public OfficeIccRenderingIntent RenderingIntent { get; } #

Effective ICC rendering intent for the image placement.

public OfficeBlendMode? BlendMode { get; } #

Authored or inherited supported blend mode, or null for the normal default.

public OfficeBlendMode? AuthoredBlendMode { get; } #

Authored or inherited supported blend mode, or null for the normal default.

public OfficeBlendMode EffectiveBlendMode { get; } #

Effective supported blend mode.

public bool HasUnsupportedBlendMode { get; } #

True when the source declared a blend mode that could not be represented.

public bool HasUnsupportedPaintState { get; } #

True when another authored graphics-state paint setting cannot be preserved by image restamping.

public bool HasUnsupportedImagePaintEffect { get; } #

True when an authored graphics-state paint effect can alter or suppress the visible image pixels.

public bool HasSoftMask { get; } #

True when a soft-mask graphics state applies to the placement.

public bool HasAuthoredRenderingIntent { get; } #

True when the source explicitly selected a rendering intent.

public bool IsAxisAligned { get; } #

True when the placement matrix is axis-aligned within a small tolerance.