Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a double that represents the vertical position for a character run in half points, lowering or raising the text in relation to the baseline. (For example, 2 points would be 4 half points.)



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

          //--- Return VerticalPosition
          int verticalPosition = oFont.VerticalPosition;

          //--- Set VerticalPosition to 2 points
          oFont.VerticalPosition = 4;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return VerticalPosition
          Dim verticalPosition As Integer = oFont.VerticalPosition

          '--- Set VerticalPosition to 2 points
          oFont.VerticalPosition = 4
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{double}} that represents the vertical position for a character run in half points, lowering or raising the text in relation to the baseline. \(For example, 2 points would be 4 half points.\){excerpt}
{signature:C#}
 public double VerticalPosition{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property VerticalPosition() As Double
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Character spacing tab > Position:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle