Page tree

Versions Compared

Key

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

Excerpt

Sets or returns a Document.Autoformat object representing autoformat type for this document. Possible values: Normal, Letter, Email.

 process

{remarks}
{example}{code:csharp|title=C#}

          //--- Return AutoformatType
          Document.Autoformat oAutoformatType = oDocument.AutoformatType;

          //--- Set AutoformatType
          oDocument.AutoformatType = Document.Autoformat.Letter;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return AutoformatType
          Dim oAutoformatType As Document.Autoformat = oDocument.AutoformatType

          '--- Set AutoformatType
          oDocument.AutoformatType = Document.Autoformat.Letter
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a [Document.Autoformat|Document.Autoformat] object representing autoformat type for this document. Possible values: Normal, Letter, Email.{excerpt}
{signature:C#}
 public Autoformat AutoformatType{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property AutoformatType() As Autoformat
Remarks

The default value for a new Document is Autoformat.Normal.

MS Word equivalent: Format menu >
{signature}
{remarks}The default value for a new [Document|Document] is [Autoformat.Normal|Document.Autoformat#Normal].

MS Word equivalent: Format menu > Autoformat... > Please select a document type to help improve the formatting
process
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle