Software Developer's Kit - ChemDraw

Send comments on this topic
Y Property
See Also 

Description

Sets and returns the Y coordinate of the point.

Property type

Read-write property

Syntax

Visual Basic
Public Property Y() As Double

Return Type

Double

Example

'Declares variables
 Dim myPoint As ChemDrawControl10Ctl.Point 
 Dim myArrow As ChemDrawControl10Ctl.Arrow
 Private Sub cmdPosition_click()
    'Example to ASSIGN values to X & Y coordinates of an arrow
     Set myPoint = myArrow.End
     myPoint.X = 350
     myPoint.Y = 150
     myArrow.End = myPoint
 End Sub

See Also