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 position's y coordinate in twips. One twip = (1/20 pt) or (1/1440 in)

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int Y{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property Y() As Integer</p>Integer
Example
 
Code Block
csharp
csharp
titleC#
            //--- Get Y
          int y = oAbsolutePositioning.Y;

          //--- Set X to 1 inch
          oAbsolutePositioning.Y = 1440;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Get Y
          Dim y As Integer = oAbsolutePositioning.Y

          '--- Set Y to 1 inch
          oAbsolutePositioning.Y = 1440
        
Example