ImageGear .NET
ReplaceChars Method (ImGearPDEText)




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 of the character or text run in the text object.
Replacement text.
Replaces characters in a text object.
Syntax
'Declaration
 
Public Sub ReplaceChars( _
   ByVal options As ImGearPDETextFlags, _
   ByVal index As Integer, _
   ByVal text 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 options,
   int index,
   string text
)
public: void ReplaceChars( 
   ImGearPDETextFlags options,
   int index,
   string* text
) 
public:
void ReplaceChars( 
   ImGearPDETextFlags options,
   int index,
   String^ text
) 

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.
Remarks
This method does not change the number of characters in the text object--extra characters are ignored.
See Also

Reference

ImGearPDEText Class
ImGearPDEText Members
ImGearPDETextFlags Enumeration

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback