Page 1 of 1

Rendering WMF doesn't render icon well & Dragging lef/rgi

Posted: Mon Sep 16, 2019 9:57 pm
by 16585021
In the attached demo there is a thunderbolt icon that looks like I want it to on the chart.

Q1) When I render it to WMF, the icon has an ugly white space around it (click on the Image tab will do this).

I really want to keep it as a WMF to avoid pixelating when I print it.

Any suggestions on how to fix this?

Q2) When the mouse goes over the thunderbolt, I would like to be able to drag it left/right--but it has to go over the Color Line tool. Is there any way to make the Color Line Tool go it drag left/right mode? Or maybe a different way to address this?

Much appreciated.

Ed Dressel

Re: Rendering WMF doesn't render icon well & Dragging lef/rgi

Posted: Tue Oct 08, 2019 11:37 am
by yeray
Hello,

Sorry for the delay here.
EdDressel wrote:
Mon Sep 16, 2019 9:57 pm
Q1) When I render it to WMF, the icon has an ugly white space around it (click on the Image tab will do this).

I really want to keep it as a WMF to avoid pixelating when I print it.

Any suggestions on how to fix this?
I see you are forcing the Canvas to be GDI and this is breaking the transparency.
EdDressel wrote:
Mon Sep 16, 2019 9:57 pm
Q2) When the mouse goes over the thunderbolt, I would like to be able to drag it left/right--but it has to go over the Color Line tool. Is there any way to make the Color Line Tool go it drag left/right mode? Or maybe a different way to address this?
I see you use OnBeginDragLine and OnEndDragLine events. Have you tried to move the imagepoint using the OnDragLine event?