Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTextEditOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
ac7e6e1bad8a with working tree changes
Modifiers
sealed

Style and bounded-layout overrides for existing-page text editing. Null style values preserve detected style when possible.

Inheritance

  • object
  • PdfTextEditOptions

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

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

Accepted by parameters 5

Constructors

public PdfTextEditOptions() #

Properties

public PdfStandardFont? Font { get; set; } #

Explicit Standard 14 substitute. Null reuses a supported embedded source font when its existing Unicode map covers the text, otherwise uses the detected standard substitute; new text defaults to Helvetica. Missing glyphs in a reusable subset require an explicit font.

public double? FontSize { get; set; } #

Font size in page user-space units. Null preserves the detected size or uses 12 points for new text.

public OfficeColor? Color { get; set; } #

Text color. Null preserves the detected color or uses black for new text.

public double? RotationDegrees { get; set; } #

Baseline rotation in degrees. Null preserves the detected rotation or uses zero for new text.

public bool AllowTextRenderingMode3 { get; set; } #

Allows editing non-Type3 text painted with PDF rendering mode 3 while preserving that invisible rendering mode. Other invisible or clipping text modes remain unsupported.

public PdfTextRegionWidthPolicy RegionWidthPolicy { get; set; } #

Horizontal width policy for added or replaced text. Match-based replacement measures the original occurrence bounds and fits only the replacement fragment; unmatched text retains its size.

public double MinimumFontSize { get; set; } #

Smallest font size permitted when PdfTextEditOptions.RegionWidthPolicy is PdfTextRegionWidthPolicy.ShrinkToFit.