CloneOrCreateDocument(IExecutionContext, IDocument, NormalizedPath, Stream, string) Method

Syntax

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

Parameters

Name Type Description
context IExecutionContext
document IDocument
destination NormalizedPath
stream Stream
mediaType string

Return Value

Type Description
IDocument