Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

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

Signature
C#
C#
 public Autoformat AutoformatType{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property AutoformatType() As Autoformat
{signature}
{remarks}The default value for a new [Document|Document] is [Autoformat.Normal|Document.Autoformat#Normal].

MS Word equivalent: Format menu > 

Remarks

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

MS Word equivalent: Format menu > Autoformat...

...

>

...

Please

...

select

...

a

...

document

...

type

...

to

...

help

...

improve

...

the

...

formatting

...

process

...

Remarks

Example

Code Block
csharp
csharp
titleC#

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

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

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

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

{example}
Example