Paragraph
Replace Method (String, TextSelection, Boolean, Boolean, Boolean)
|
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public int Replace(
string given,
TextSelection textSelection,
bool caseSensitive,
bool wholeWord,
bool saveFormatting
)
Public Function Replace (
given As String,
textSelection As TextSelection,
caseSensitive As Boolean,
wholeWord As Boolean,
saveFormatting As Boolean
) As Integer
public:
int Replace(
String^ given,
TextSelection^ textSelection,
bool caseSensitive,
bool wholeWord,
bool saveFormatting
)
member Replace :
given : string *
textSelection : TextSelection *
caseSensitive : bool *
wholeWord : bool *
saveFormatting : bool -> int
Parameters
-
given
-
Type:
System
String
-
textSelection
-
Type:
Spire.Doc.Documents
TextSelection
-
caseSensitive
-
Type:
System
Boolean
-
wholeWord
-
Type:
System
Boolean
-
saveFormatting
-
Type:
System
Boolean
Return Value
Type:
Int32
See Also