Replaces characters in a text object.
Syntax
'Declaration
Public Sub ReplaceChars( _
ByVal As ImGearPDETextFlags, _
ByVal As Integer, _
ByVal As String _
)
'Usage
Dim instance As ImGearPDEText
Dim options As ImGearPDETextFlags
Dim index As Integer
Dim text As String
instance.ReplaceChars(options, index, text)
public void ReplaceChars(
ImGearPDETextFlags ,
int ,
string
)
public: void ReplaceChars(
ImGearPDETextFlags ,
int ,
string*
)
public:
void ReplaceChars(
ImGearPDETextFlags ,
int ,
String^
)
Parameters
- options
- ImGearPDETextFlags value that specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either:
CHAR
for a text character or RUN
for a text run. - index
- Index of the character or text run in the text object.
- text
- Replacement text.
See Also