Thanks for the reply Loic.
The type mismatch error doesnot occur now. But the requirement is that, the previous version of my tool uses Gd Picture pro 3.8.x version which has a code like the below one:
- Code: Select all
lGdStatus = oGdPicture.DrawCircle(lrefx, lrefY, lDiameter, oGdPicture.ColorGetARGBValueFromARGB(255, 255, 0, 0), lDiameter / 2)
- Code: Select all
lGdStatus = oGdPicture.DrawText(strText, lmousex, lmousey, 20, 2, oGdPicture.ColorGetARGBValueFromARGB(150, 255, 0, 0))
This performs the following operation:
Based on the color and quality of the Image loaded to the viewer, the annotation text color is selected. That is, if the page is while then the color of the annotation text will be black. Else, the color of the text will be red.
This will not be performed by the Imaging1.argb(255,0,0,0). Please let me know, if the function
Imaging1.ColorGetARGBFromARGBValue is similar to the
ogdpicture.ColorGetARGBValueFromARGB.
If these functions are not similar, then please suggest me a similar function for this functionality.
Regards.