ReplaceTag

Page manipulation

Description

This function searches through the contents of the current page, and replaces all occurrences of Tag with NewValue.

Syntax

Delphi

function TPDFlib.ReplaceTag(Const Tag, NewValue: WideString): Integer;

ActiveX

Function PDFlib::ReplaceTag(Tag As String, NewValue As String) As Long

DLL

int DLReplaceTag(int InstanceID, wchar_t * Tag, wchar_t * NewValue);

Parameters

TagThe text to search for
NewValueThe replacement text

Return values

Returns the number of times the text was replaced