ContentReplacerAddText Method |
All text inside 'target_region' will be deleted and replaced with 'replacement_text'.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void AddText(
Rect target_region,
string replacement_text
)
Public Sub AddText (
target_region As Rect,
replacement_text As String
)
public:
virtual void AddText(
[InAttribute] Rect^ target_region,
[InAttribute] String^ replacement_text
) sealed
function AddText(target_region, replacement_text);
Parameters
- target_region
- Type: pdftron.PDFRect
The rectangle defining the area in which all text will
be replaced by 'replacement_text'.
- replacement_text
- Type: SystemString
The new text that will replace the existing text
in 'target_region'.
Remarks The 'replacement_text' will be styled in the same font/color/style that is used
by the original text. If there are multiple font styles, the most prevalent style will
be used. Also, the 'replacement_text' will wrap within the 'target_region',
but if it is too long, the overflow text will not be visible, and no surrounding
content will be affected.
See Also