WordMarkdownImageLayoutOptions
OfficeIMO.Word.Markdown
Controls how markdown image dimensions are normalized before insertion into Word.
Inheritance
- object
- WordMarkdownImageLayoutOptions
Usage
Explore 1 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 1
Constructors
public WordMarkdownImageLayoutOptions() #Inherited Methods
Properties
public WordMarkdownImageFitMode FitMode { get; set; } #Selects how container width should constrain markdown images. Default: WordMarkdownImageFitMode.ContextContentWidth, so large images never run off the page.
public WordMarkdownImageHintPrecedence HintPrecedence { get; set; } #Defines whether markdown width/height hints are applied before or after layout constraints.
public OfficeLength? MaxWidth { get; set; } #Optional physical hard cap for image width.
public OfficeLength? MaxHeight { get; set; } #Optional physical hard cap for image height.
public 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 bool AllowUpscale { get; set; } #When false, explicit markdown hints larger than natural dimensions are clamped down.