You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Classes > DocumentContainer Class > DocumentContainer Methods > DocumentContainer.CreateDocument Method
Close
Ofcas.Lk.Api.Client - Version 3.0
DocumentContainer.CreateDocument Method

Creates a document with the specific name, suffix, type and content.

Syntax
C#
public DocumentInfo CreateDocument(string name, string suffix, DocumentType type, Stream content);
Parameters
Description
string name
Specifies the name of the document.
string suffix
Specifies the suffix of the document.
DocumentType type
Specifies the type of the document.
Stream content
Specifies the content of the document.

Returns the newly created document as info object.

Copyright © 2020. All rights reserved.