03-12-2010 05:49 PM
Hello,
Can I draw arrows with cvi?
03-13-2010 07:40 AM
03-15-2010 11:16 AM
Hello Letty,
You may also want to take a look at this forum post which shows how to use a canvas control to draw a line.
Regards,
03-15-2010 02:15 PM
Brandon,
Let me try that out. I want the line/arrow to behave like a control/component whose attributes I can change. Is that possible?
03-15-2010 02:30 PM
Letty,
What kind of attributes are you referring to?
If you need to change the size programmatically;
- Start with an arrow picture you draw using IrfanView and save it as PNG with a transparent background.
- Put a picture control on your UI and set it to resize the picture according to control size
- Make the background of the picture control transparent using the color palette of CVI user interface editor.
- Assign the picture file of control as the file you saved in IrfanView.
Hope this helps,