ReplaceText Method (GcPdfDocument)
In This Topic
Replaces a specified text on all pages of the current document.
Note that the results may be affected by the current value of the RecognitionAlgorithm property.
Syntax
'Declaration
Public Sub ReplaceText( _
ByVal As FindTextParams, _
ByVal As System.String, _
Optional ByVal As OutputRange, _
Optional ByVal As Font, _
Optional ByVal As System.Nullable(Of Single) _
)
public void ReplaceText(
FindTextParams ,
System.string ,
OutputRange ,
Font ,
System.Nullable<float>
)
Parameters
- findTextParams
- The text to search for.
- newText
- The replacement text.
- searchRange
- The search scope.
- font
- The font to use on , if a null reference (Nothing in Visual Basic) the current font will be used.
- fontSize
- The font size to use on , if a null reference (Nothing in Visual Basic) the current font size will be used.
See Also