Last post Aug 18, 2011 08:15 PM by rollo1002
Aug 18, 2011 05:16 PM|Martijn2010|LINK
I'm a dutch ASP.net developer. I want to create a poloroid image of an image located on the same server. The poloroid image contains the source image and a text. I look for something like this http://www.miguelmoreno.net/sandbox/polaroid/. But it doesn't work
on my pc.... any suggestions? I'd prefer a method which the following parameters: text, imgSrc, imgWidth, imgHeight
Thanks a lot!
Aug 18, 2011 05:59 PM|rollo1002|LINK
what errrors are you getting?
Aug 18, 2011 06:11 PM|Martijn2010|LINK
Thank you for your reaction. At the moment I get an error on this line:
path.AddString(textText, font.FontFamily, (int)font.Style, font.Size, rect, format);
I don't know how to solve this problem. More information I found on this url: http://msdn.microsoft.com/en-us/library/ms142534(VS.90).aspx ........but I don't know how to fix it!
Aug 18, 2011 08:15 PM|rollo1002|LINK
if you're using the same line then you need to define the font. Add this line to the method. You can adjust the family and size as appropriate.
Font font = new Font("Arial", 10);