Skip to main content

SubDocument.InsertDocumentContent Method

Name Parameters Description
InsertDocumentContent(DocumentPosition, DocumentRange, InsertOptions) pos, range, insertOptions Inserts content from the specified range in the current document at the specified position.
InsertDocumentContent(DocumentPosition, DocumentRange) pos, range Inserts content from the specified range in the current document at the specified position.
InsertDocumentContent(DocumentPosition, Stream, DocumentFormat, InsertOptions) pos, stream, format, insertOptions Inserts content from the specified stream in the specified format, at the specified position, in the current document.
InsertDocumentContent(DocumentPosition, Stream, DocumentFormat, String, InsertOptions) pos, stream, format, sourceUri, insertOptions Inserts content from the specified stream in the specified format, at the specified position, in the current document.
InsertDocumentContent(DocumentPosition, Stream, DocumentFormat, String) pos, stream, format, sourceUri Insert content from the stream in the current document at the specified position.
InsertDocumentContent(DocumentPosition, Stream, DocumentFormat) pos, stream, format Inserts content from the stream in the current document at the specified position.
InsertDocumentContent(DocumentPosition, Stream) pos, stream Inserts content from the stream in the current document at the specified position.
InsertDocumentContent(DocumentPosition, String, DocumentFormat, InsertOptions) pos, fileName, format, insertOptions Inserts content from the file in the current document at the specified position.
InsertDocumentContent(DocumentPosition, String, DocumentFormat, String, InsertOptions) pos, fileName, format, sourceUri, insertOptions Inserts content from the file in the current document at the specified position.
InsertDocumentContent(DocumentPosition, String, DocumentFormat, String) pos, fileName, format, sourceUri Inserts content from the file in the current document at the specified position.
InsertDocumentContent(DocumentPosition, String, DocumentFormat) pos, fileName, format Inserts content from the file in the current document at the specified position.
InsertDocumentContent(DocumentPosition, String) pos, fileName Inserts content from the file in the current document at the specified position.