sds_textbox

int sds_textbox (const struct sds_resbuf *entity-name, sds_point point1, sds_point point2);


Determine the x,y-dimensions of this text object.


This function returns the relative two-dimensional coordinates of a box that encloses a text object. The lower-left corner is always (0,0).

The argument entity-name must refer to a text object or attributes, but not text in dimensions and blocks.

This function sets point1 to 0,0 and sets point2 to the maximum coordinates of a rectangle bounding the text.

This function returns RTNORM or RTERROR with an error number in system variable ERRNO.

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)