Scale

GetScalePos, SetScalePos

GetScalePos

Description 

 GetScalePos(
   int *pPosX,
   int *pPosY
);

Returns the position of the scale bar center within the current image.

Parameters

int *pPosX

Pointer to the X coordinate.

int *pPosY

Pointer to the Y coordinate.

See Also 
SetScalePos

SetScalePos

Description 

 SetScalePos(
   int  PosX,
   int  PosY
);

This function sets coordinates of the center of the scale within the current image. It works even if the scale is not displayed at the moment.

Parameters

int PosX

X coordinate in [px].

int PosY

Y coordinate in [px].

See Also 
GetScalePos