InsertDocumentInvoke Method (Stream, Int32, Int32) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Inserts the content of another document into the supplied stream.

Namespace: ContentStudio.Site.ActiveScripting.Document
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static void Invoke(
	Stream stream,
	int documentId,
	int presentationTemplateId
)

Parameters

stream
Type: System.IOStream
Stream to write to. Set to null to write to the current response stream
documentId
Type: SystemInt32
Specifies a identifier of the document to insert. This document must be a document without meta data
presentationTemplateId
Type: SystemInt32
Optional presentation template ID for an EPT document. Set to zero to use the standard presentation template defined for the EPT document.
See Also

Reference