Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

PdfTextRegionWidthPolicy

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
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

Explore 4 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.

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 PdfTextEditOptions.MinimumFontSize.

Value: 2