Hi,
I am not able to set Text below drawing dimension, If any one has solutions please suggest.
Hi, you might check out the following API: ProDimensionTextWstringsSet
The docu provides an example:
err = ProArrayAlloc (0, sizeof(wchar_t*), 1, (ProArray*)&p_texts); while(1) { err = ProMessageStringRead (127, buffer); if(err != PRO_TK_NO_ERROR) break; err = ProArrayObjectAdd ((ProArray*)&p_texts, PRO_VALUE_UNUSED, 1,&buffer); err = ProWstringLengthGet(buffer,&wstrLen); err = ProArrayAlloc (wstrLen+1, sizeof(wchar_t), 1, (ProArray*)&p_texts[arrIndex]); ProWstringCopy(buffer,p_texts[arrIndex],PRO_VALUE_UNUSED); arrIndex++; } err = ProDimensionTextWstringsSet (dim, p_texts); TEST_CALL_REPORT("ProDimensionTextWstringsSet()", "ProTestDimensionEdit()", err, err != PRO_TK_NO_ERROR); for(ii=0;ii<arrIndex;ii++) err = ProArrayFree ((ProArray*)&p_texts[ii]); err = ProArrayFree ((ProArray*)&p_texts);