Creates a new document.

Namespace: BlueCieloECM.InnoCielo.Meridian.Client
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public BCDocument NewDocument(
	IWin32Window owner,
	string name,
	string typeIDOrName,
	string templateIDorWinName,
	string filePath,
	NewDialogKind dialogType,
	string dialogTitle
)
Visual Basic
Public Function NewDocument ( _
	owner As IWin32Window, _
	name As String, _
	typeIDOrName As String, _
	templateIDorWinName As String, _
	filePath As String, _
	dialogType As NewDialogKind, _
	dialogTitle As String _
) As BCDocument
Visual C++
public:
BCDocument^ NewDocument(
	IWin32Window^ owner, 
	String^ name, 
	String^ typeIDOrName, 
	String^ templateIDorWinName, 
	String^ filePath, 
	NewDialogKind dialogType, 
	String^ dialogTitle
)

Parameters

owner
Type: System.Windows.Forms..::..IWin32Window
Any object that implements the IWin32Window interface that represents the top-level window that will own the modal dialog box.
name
Type: System..::..String
The name of the document to create.
typeIDOrName
Type: System..::..String
The ID or Name property values of the document type.
templateIDorWinName
Type: System..::..String
The ID property value of the document template or Windows template's display name.
filePath
Type: System..::..String
The file path to import content from. Can be nullNothingnullptra null reference (Nothing in Visual Basic) to create an empty document.
dialogType
Type: BlueCieloECM.InnoCielo.Meridian.Client..::..NewDialogKind
The dialog box type.
dialogTitle
Type: System..::..String
The title of the dialog box specified with dialogType parameter.

Return Value

The created document.

See Also