BCFolderUINewDocument Method (IWin32Window, String, String, String, String, NewDialogKind, String, NewDocFlags) |
Creates a new document.
Namespace: BlueCieloECM.InnoCielo.Meridian.ClientAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntaxpublic BCDocument NewDocument(
IWin32Window owner,
string name,
string typeIDOrName,
string templateIDorWinName,
string filePath,
NewDialogKind dialogType,
string dialogTitle,
out NewDocFlags flags
)
Public Function NewDocument (
owner As IWin32Window,
name As String,
typeIDOrName As String,
templateIDorWinName As String,
filePath As String,
dialogType As NewDialogKind,
dialogTitle As String,
<OutAttribute> ByRef flags As NewDocFlags
) As BCDocument
public:
BCDocument^ NewDocument(
IWin32Window^ owner,
String^ name,
String^ typeIDOrName,
String^ templateIDorWinName,
String^ filePath,
NewDialogKind dialogType,
String^ dialogTitle,
[OutAttribute] NewDocFlags% flags
)
member NewDocument :
owner : IWin32Window *
name : string *
typeIDOrName : string *
templateIDorWinName : string *
filePath : string *
dialogType : NewDialogKind *
dialogTitle : string *
flags : NewDocFlags byref -> BCDocument
Parameters
- owner
- Type: System.Windows.FormsIWin32Window
Any object that implements the IWin32Window interface
that represents the top-level window that will own the modal dialog box.
- name
- Type: SystemString
The name of the document to create.
- typeIDOrName
- Type: SystemString
The ID or Name property values of the document type.
- templateIDorWinName
- Type: SystemString
The ID property value of the document template or Windows template's display name.
- filePath
- Type: SystemString
The file path to import content from. Can be to create an empty document.
- dialogType
- Type: BlueCieloECM.InnoCielo.Meridian.ClientNewDialogKind
The dialog box type.
- dialogTitle
- Type: SystemString
The title of the dialog box specified with dialogType parameter.
- flags
- Type: BlueCieloECM.InnoCielo.Meridian.ClientNewDocFlags
A bitmask that is a combination of bit flags from NewDocFlags.
Return Value
Type:
BCDocumentThe created document.
See Also