MAGNITUDE Function [Visio 2003 SDK Documentation]

Returns the magnitude of the vector whose rise is A and whose run is B, multiplied by the respective constants constantA and constantB. MAGNITUDE is calculated according to the following formula:

SQRT((constantA * A)^2 + (constantB * B)^2)

MAGNITUDE(constantA,A,constantB,B)

Example

MAGNITUDE(1, 3, 1, 4)

Returns 5.