1-800-975-iCAD
9:00am to 5:00pm Pacific Time
sds_layoutgetcur
sds_layoutgetcur
int sds_layoutgetcur (sds_name entname);
Return the name of the current layout.
The function returns the name of the currently selected layout entity.
The argument entname returns the entity name of the current layout object.
The function returns RTNORM if successful; otherwise, it returns RTERROR.
Example
sds_name_clear(entname1);
struct sds_resbuf *entlist = NULL;
// Get the current tab
if (sds_layoutgetcur(entname1)
!= RTNORM)
{
sds_printf("\nCould not get the current layout.");
return RTNORM;
}
// Get the entity data
entlist = sds_entget(entname1);
// Release the resbuf
if (entlist != NULL)
sds_relrb(entlist);
Tell me about...
Programming Overview
of SDS (Solutions Development System)
sds_layoutmake
sds_layoutsearch
sds_layoutsetcur
|
|
|