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
Wiki Markup
{description}
{excerpt}Sets or returns an {{int}} that represents the image's width in twips. One twip = \(1/20 pt\) or \(1/1440 in\).{excerpt}
{signature:C#}
 public int Width{ get; set; }
{signature}{signature:vb.net}
Public Property Width() As Integer
{signature}
{example}{code:csharp|title=C#}

          //--- Return Width
          int width = oInlineImage.Width;

          //-- Set Width to 3 inches
          oInlineImage.Width = 4320;
        {code}
{code:vb.net|title=vb.net}

          '--- Return Width
          Dim width As Integer = oInlineImage.Width

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

{example}