PdfTextEditOptions
OfficeIMO.Pdf
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
- Method PdfDocumentTextEditor.Add
- Method PdfDocumentTextEditor.Move
- Method PdfDocumentTextEditor.Replace
- Method PdfDocumentTextEditor.ReplaceAll
- Method PdfDocumentTextEditor.ReplaceSelected
Constructors
public PdfTextEditOptions() #Inherited Methods
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.