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 an int that represents the indentation for the body of the entry, in twips.

Signature
C#
C#
 public int Indent{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Indent() As Integer
{signature}
{remarks}
One twip = 
Remarks

One twip = 1/20

pt

=

1/1440

in.

[

Indent

|ListLevel.Indent]

is

equivalent

to

Microsoft

Word's

"Text

position"

setting.

WordWriter's

default

{{

Indent

}}

value

for

the

first

list

level

is

0.

By

default,

WordWriter

increments

the

indentation

of

lower

levels

by

0.5''.

To

change

Word's

"Text

Position"

setting:

#

  1. Highlight
  1. your
  1. list.
#
  1. Open
  1. the
  1. Format
  1. menu
  1. and
  1. select
  1. Bullets
  1. and
  1. Numbering.
#
  1. Select
  1. a
  1. list
  1. style
  1. and
  1. click
  1. Customize.

Indent

is

a

read

/

write

property.

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

Example
Code Block
csharp
csharp
titleC#


          //--- Return Indent
          int indent = level.Indent;

          //--- Set Indent to 1 inch
          level.Indent = 1440;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return Indent
          Dim indent As Integer = level.Indent

          '--- Set Indent to 1 inch
          level.Indent = 1440
        
{code} {example}