Share via


Application.BoxGetYPosition Method

Project Developer Reference

Returns the vertical position of the upper-left corner of a box in the active Network Diagram. At a zoom setting of 100%, the number of nonscaleable units returned by BoxGetYPosition is equivalent to an equal number of pixels.

Syntax

expression.BoxGetYPosition(TaskID, ProjectName)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
TaskID Required Long The identification number of the task.
ProjectName Optional String If the active project is a consolidated project, specifies the name of the project for the identification number specified by TaskID. The default value is the name of the active project.

Return Value
Long

See Also