API Reference
MarkdownImageLayoutOptions
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.
Returned or exposed by
Constructors
public MarkdownImageLayoutOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.