BookmarksNavigator
ReplaceBookmarkContent Method (TextBodyPart, Boolean)
|
Replaces the bookmark content with specified TextBodyPart object,
with an option to preserve the formatting of the first paragraph
in the source content.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void ReplaceBookmarkContent(
TextBodyPart bodyPart,
bool isKeepSourceFirstParaFormat
)
Public Sub ReplaceBookmarkContent (
bodyPart As TextBodyPart,
isKeepSourceFirstParaFormat As Boolean
)
public:
void ReplaceBookmarkContent(
TextBodyPart^ bodyPart,
bool isKeepSourceFirstParaFormat
)
member ReplaceBookmarkContent :
bodyPart : TextBodyPart *
isKeepSourceFirstParaFormat : bool -> unit
Parameters
-
bodyPart
-
Type:
Spire.Doc.Documents
TextBodyPart
The body part.
-
isKeepSourceFirstParaFormat
-
Type:
System
Boolean
See Also