BookmarksNavigator
ReplaceBookmarkContent Method (String, Boolean)
|
Replaces the content of the bookmark with new text.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void ReplaceBookmarkContent(
string text,
bool saveFormatting
)
Public Sub ReplaceBookmarkContent (
text As String,
saveFormatting As Boolean
)
public:
void ReplaceBookmarkContent(
String^ text,
bool saveFormatting
)
member ReplaceBookmarkContent :
text : string *
saveFormatting : bool -> unit
Parameters
-
text
-
Type:
System
String
The text.
-
saveFormatting
-
Type:
System
Boolean
if it is save formatting, set to
true
.
See Also