i want copy one PtLabel’s Pt_ARG_LABEL_IMAGE to another PtLabel,and i use this way:
PhImage_t temp; /Temp PhImage_t object/
PhImage_t *pImage_temp; /Temp PhImage_t pointer/
pImage_temp = &temp; /Initialize pointer/
PtGetResource(ABW_Lab01, /Source PtLabel/
Pt_ARG_LABEL_IMAGE,
&pImage_temp,
0);
PtSetResource(ABW_Lab02, /Destination PtLabel/
Pt_ARG_LABEL_IMAGE,
pImage_temp,
0);