Table of Contents

Method Replace

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Replace(PdfTextSpan, string, PdfTextReplacementOptions)

Specifies replacement text for the specified text span, using the specified options.

public PdfTextEditResult Replace(PdfTextSpan span, string text, PdfTextReplacementOptions options)

Parameters

span PdfTextSpan

The text span to replace.

text string

The text to use as a replacement.

options PdfTextReplacementOptions

Options that control how the replacement text is added.

Returns

PdfTextEditResult

This PdfTextEditResult instance.

Exceptions

ArgumentNullException

span, text, or options is null.