Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

MarkdownImageLayoutOptions

Namespace OfficeIMO.Word.Markdown
Assembly OfficeIMO.Word.Markdown
Modifiers sealed

Controls how markdown image dimensions are normalized before insertion into Word.

Inheritance

  • Object
  • MarkdownImageLayoutOptions

Usage

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

Constructors

public MarkdownImageLayoutOptions() #

Properties

public MarkdownImageFitMode FitMode { get; set; } #

Selects how container width should constrain markdown images.

public MarkdownImageHintPrecedence HintPrecedence { get; set; } #

Defines whether markdown width/height hints are applied before or after layout constraints.

public Nullable<Double> MaxWidthPixels { get; set; } #

Optional hard cap (pixels) for image width.

public Nullable<Double> MaxHeightPixels { get; set; } #

Optional hard cap (pixels) for image height.

public Nullable<Double> MaxWidthPercentOfContent { get; set; } #

Optional hard cap expressed as percent of available content width (for example 100, 85, 50). When set, this is evaluated against context width (or page content width when context is unavailable).

public Boolean AllowUpscale { get; set; } #

When false, explicit markdown hints larger than natural dimensions are clamped down.