API Reference

Enum

PdfTextRegionWidthPolicy

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls horizontal fitting for text added to or replacing a bounded page region.

Inheritance

  • Enum
  • PdfTextRegionWidthPolicy

Usage

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

Values

public const PdfTextRegionWidthPolicy PreserveFontSize #

Preserves the resolved font size even when a line exceeds the region's baseline extent.

Value: 0
public const PdfTextRegionWidthPolicy RejectOverflow #

Rejects the edit before mutation when a line exceeds the region's baseline extent.

Value: 1
public const PdfTextRegionWidthPolicy ShrinkToFit #

Reduces the resolved font size to fit every line, subject to MinimumFontSize.

Value: 2