Enum TextReplaceOptions.FontSizeAdjustment

TextReplaceOptions.FontSizeAdjustment enumeration

Specifies a policy for how the font size of text should be adjusted to fit within a containing area.

public enum FontSizeAdjustment

Values

NameValueDescription
None0The font size is not changed.
ShrinkToFit1The font size is reduced if the text is too large to fit the bounds. The font size is never increased if the text is smaller than the bounds.
ScaleToFill2The font size is adjusted (both shrinking and growing) to make the text fill the bounds of the rectangle as much as possible.

See Also