Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

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.

Exceptions

...

Thrown if an error occurs creating the document.

Remarks

MS Word equivalent: File > New... > Blank Document

{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}
{code:vb.net
|title=vb.net
}
Dim doc As Document = app.Create(){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle