The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SubDocument.InsertDocumentContent Method

Name Parameters Description
InsertDocumentContent(DocumentPosition, DocumentRange) pos, range

Inserts content from the specified range in the current document at the specified position.

InsertDocumentContent(DocumentPosition, DocumentRange, InsertOptions) pos, range, insertOptions

Inserts content from the specified range 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, Stream, DocumentFormat) pos, stream, format

Inserts content from the stream 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) pos, stream, format, sourceUri

Insert content from the stream in the current document at the specified position.

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, String) pos, fileName

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, DocumentFormat, InsertOptions) pos, fileName, format, 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, String, InsertOptions) pos, fileName, format, sourceUri, insertOptions

Inserts content from the file in the current document at the specified position.