Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns an int that represents the image's height in twips. One twip = (1/20

pt

\

)

or

\

(1/1440

in

\

).

{excerpt} {signature:C#}

Signature
C#
C#
public int Height{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Height() As Integer
{signature}
{example}{code:csharp|title=C#}
Example
 
Code Block
csharp
csharp
titleC#
            //--- Return Height
          int height = oInlineImage.Height;

          //--- Set Height to 2 inches
          oInlineImage.Height = 2880;
        {code}
{code:
|title=}
Code Block
vb.net
vb.net
titlevb.net
            '--- Return Height
          Dim height As Integer = oInlineImage.Height

          '--- Set Height to 2 inches
          oInlineImage.Height = 2880
        {code}

{example}
Example