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 absolute width in twips. One twip = (1/20

...

pt

...

)

...

or

...

(1/1440

...

in

...

)

...

Signature
C#
C#
 public int Width{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Width() As Integer
{signature}
{remarks}The width of Paragraph must be between 
Remarks

The width of Paragraph must be between 0.01"

\

(15

twips

\

)

and

22"

\

(31680

twips

\

).

The

width

of

a

table

must

be

between

0"

\

(0

twips

\

)

and

22"

\

(31680

twips

\

).

Values

beyond

these

will

be

automatically

adjusted.

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

Example
Code Block
csharp
csharp
titleC#


          //--- Get Width
          int width = oAbsolutePositioning.Width;

          //--- Set Width to 3 inches
          oAbsolutePositioning.Width = 4320;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Get Width
          Dim width As Integer = oAbsolutePositioning.Width

          '--- Set Width to 3 inches
          oAbsolutePositioning.Width = 4320
        
{code} {example}