BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Mark,
Thank you for your interest in Syncfusion Products.
At present we do have only support for JEPG images to draw in PDF document in WinRT platform. We can scale the graphics by using the below code snippet. Please let us know if you have any concern.
page.Graphics.ScaleTransform(2F, 2F);
Thanks,
Karthikeyan.C
From: Mark Schramm [mailto:markbschramm@hotmail.com]
Sent: Friday, November 14, 2014 5:02 PM
To: Syncfusion Support
Subject: RE: Syncfusion support community forum 117465, How to do
Transparent graphic in Grid Cell, has been updated.
This scales the entire grid down.
I have a Grid. Inside that grid are 3 columns. In each of the columns is going to be an icon. Right now the icon is too big. Unfortunately the code you provided below scales the entire page and I just want to make the icons fit in the space provided.
Hi Mark,
Thank you for your update.
We can save the graphics state and restore this back, please use the below code snippet to implement this.
//Save the current Graphics State
PdfGraphicsState gs = page.Graphics.Save();
//Scale the Graphics
page.Graphics.ScaleTransform(2F, 2F);
//Draw the string with scaled graphics
page.Graphics.DrawString("Hello World", titleFont, PdfBrushes.Black, new PointF(150, 150));
//Restore graphics to saved state
page.Graphics.Restore(gs);
//Draw the string with normal state
page.Graphics.DrawString("Hello World", titleFont, PdfBrushes.Black, new PointF(250, 150));
Regards,
Karthikeyan.C