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

Signature
C#
C#

 public int X{ get; set; }
Signature
vb.net
vb.net

Public Property X() As Integer
Example
 
Code Block
csharp
csharp
titleC#
          
//--- Get X
          int x = oAbsolutePositioning.X;

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

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