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
spanPdfTextSpanThe text span to replace.
textstringThe text to use as a replacement.
optionsPdfTextReplacementOptionsOptions that control how the replacement text is added.
Returns
- PdfTextEditResult
This PdfTextEditResult instance.
Exceptions
- ArgumentNullException
span,text, oroptionsisnull.