CloneOrCreateDocument(IExecutionContext, IDocument, Stream, string) Method

Syntax

public static IDocument CloneOrCreateDocument(this IExecutionContext context, IDocument document, Stream stream, string mediaType = null)

Parameters

Name Type Description
context IExecutionContext
document IDocument
stream Stream
mediaType string

Return Value

Type Description
IDocument