lcDrwGetEntByID Home

Retrieves a graphic objects by its identifier. The functions searches in all blocks of a drawing.

 HANDLE lcDrwGetEntByID (
   HANDLE hDrw,
   int Id
 );

Parameters
hDrw
  Handle to a drawing object.
Id
  Identifier of a graphic object (LC_PROP_ENT_ID property).

Return Value

  Handle to a graphic object.
If an object with specified identifier is not found, the function returns NULL.

See Also

  lcDrwGetEntByIDHlcDrwGetEntByKeylcBlockGetEntByID