'Declaration Public Overloads Sub InsertDocument( _ ByVal remote_document As Document, _ Optional ByVal basePositionElement As DocumentElement, _ Optional ByVal append As Boolean, _ Optional ByVal useSectionBreak As Boolean, _ Optional ByVal mergingMode As MergingMode _ )
'Usage Dim instance As Document Dim remote_document As Document Dim basePositionElement As DocumentElement Dim append As Boolean Dim useSectionBreak As Boolean Dim mergingMode As MergingMode instance.InsertDocument(remote_document, basePositionElement, append, useSectionBreak, mergingMode)
public void InsertDocument( Document remote_document, DocumentElement basePositionElement, bool append, bool useSectionBreak, MergingMode mergingMode )
Parameters
- remote_document
- Represents the document to be inserted. This document will be inserted at the given position in the base document.
- basePositionElement
- Represents the position where the guest document will be inserted.
- append
- If the value is true, the guest document will be inserted after the basic position element. If the value is false, the document will be inserted before the basic position element.
- useSectionBreak
- If the value is true, each inserted document will be located in its own section. If the value is false, all documents will remain in the same section.
- mergingMode
- Represents the styles and attributes that will be applied to the final document once the guest document has been inserted.