Search
ScriptHelper.DocToClientY Method
See Also
 



Transforms a point from the document coordinate space to the device coordinate space.

 Syntax

VB6  Copy Code

Public Function DocToClientY( _
    ByVal docX As Long, _
    ByVal docY As Long _
) As Long

C++  Copy Code

public:
int DocToClientY (
    int docX,
    int docY
)

 Parameters

docX
The x coordinate of the point, in document coordinates.
docY

The y coordinate of the point, in document coordinates.

 Return Value

An integer value specifying the point's Y coordinate in pixels.

 Remarks

Gets pixel coordinates in the FlowChartX window, corresponding to the specified document x and y coordinates. This method is useful when the device coordinates of a diagram location are needed. For example, it can be used to get the point where a context menu should be displayed.

 See Also