Excerpt |
---|
Creates and returns a new Document based on the Normal style. |
Signature |
---|
C# | C# | Wiki Markup |
---|
{description}
{excerpt}Creates and returns a new [Document|Document] based on the Normal style.{excerpt}
{signature:C#}
public Document Create()
|
Signature |
---|
{signature}{signature:vb.net | vb.net | }
Public Function Create() As Document
|
Returns |
---|
A new document based on the Normal style. |
...
Thrown if an error occurs creating the document.
Remarks |
---|
MS Word equivalent: File > New... > Blank Document |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{signature}
{returns}A new document based on the Normal style.{returns}
{exceptions}
{exception:System.Exception}Thrown if an error occurs creating the document.{exception}
{remarks}MS Word equivalent: File > New... > Blank Document
{remarks}
{example}{code:csharp|title=C#}
Document doc = app.Create();
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim doc As Document = app.Create(){code}
{example}