I would like to know how to import Image into PowerClip and align it center in c# 2010
I am using Corel Draw x5
Hello Santhosh; Import or make what you want Power Clipped, select the item you want to put the power clip in. Then select the power clip.
I Hope this is some help, if not ask more questions.
George
Hi George,
Thank you for the reply.
Here is the C# code
ImportFilter impfil = new ImportFilter();Layer objLyr = cdr.ActiveLayer;
impfil = objLyr.ImportEx(@"E:\images\404.jpg",cdrFilter.cdrJPEG);
Here i am stuck
impfil.Finish();
VBA code
Dim impflt As ImportFilterSet impflt = ActiveLayer.ImportEx("E:\images\default-men.jpg", cdrJPEG, impopt)impflt.Finish
Regards,
Santhosh
Hello Santhosh; In X7 there is a setting in the setup to place the Power Clip in the center. I wouldn't know about X5 ( Never Used It.) And as far as writing a macro goes I still trying to write one for for ver. 11 to open my Beer for me. If I needed a macro I'd go to John ( http://www.gdgmacros.com ) or Jeff ( http://macromonster.com ) and see what they have. Some are FREE, Some you buy, but they are cheap at the prices they charge.
Good Luck, George
I was trying to eliminate manual task by providing automation code using C#. I was stuck while importing image and power clipping it to a rectangle shape. The task is accomplished successfully Thank you for all your help.
As there was no documentation or sample in c# to automate Corel Draw X5 tasks. I was referring VBA code.
Thanking you once again.
Santhosh Nataraj