%HI_GetDistY, %HI_SetDistY function


Function
The function %HI_SetDistY sets a distance from one point of the object to next point on the Y-axis (Control function).

The function %HI_GetDistY finds out a distance from one point of the object to next point on the Y-axis.
Declaration
%HI_SetDistY(
   INT in refId,
   INT in idx,
   INT in value
 )
 
 INT %HI_GetDistY(
   INT in refId,
   INT in idx
 )
Parameters
refIdReference to the graphic object (reference variable).
idxIndex which defines a distance.
valueSetting value.
Description
The function %HI_SetDistY is without a return value.
The function %HI_GetDistY gets back a value of defined variable.

These functions cannot work with object manager functions that change the dimensions of objects. They are primarily intended for line objects.

For other objects, they can be used with the following restrictions:


  • line objects and polygon - no limits but except 3D lines,
  • 3D line can be deformed and wrong drawn if the dimensions are improper,
  • when the polygons, circles (radius) and pillar (if value of its index is 1) are drawn, the negations are not acceptable.

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .