IDocument
ImportContent Method (IDocument, Boolean)
|
Imports all content into document.
Namespace:
Spire.Doc.Interface
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
void ImportContent(
IDocument doc,
bool importStyles
)
Sub ImportContent (
doc As IDocument,
importStyles As Boolean
)
void ImportContent(
IDocument^ doc,
bool importStyles
)
abstract ImportContent :
doc : IDocument *
importStyles : bool -> unit
Parameters
-
doc
-
Type:
Spire.Doc.Interface
IDocument
The doc.
-
importStyles
-
Type:
System
Boolean
If the document styles which have same names will be
also imported to the destination document, set to
true
.
See Also