Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointLayoutImage

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

An image fitted to its content zone.

Inheritance

Constructors

public PowerPointLayoutImage(string path, string? alternativeText = null) #

Creates content for the shared layout engine.

Parameters

path string required
alternativeText string? = null optional

Properties

public string Path { get; } #

Local image path; empty when a materialized native picture owns the payload.

public string? AlternativeText { get; } #

Accessible description of the visual.

public double FocalX { get; set; } #

Horizontal focal point as a fraction of image width.

public double FocalY { get; set; } #

Vertical focal point as a fraction of image height.

public bool Contain { get; set; } #

Fit the whole image rather than crop to fill.

public string? Caption { get; set; } #

Optional caption below the content.