|117465||Oct 26,2014 04:21 AM UTC||Nov 17,2014 07:01 AM UTC||WinRT||3|
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.
From: Mark Schramm [mailto:firstname.lastname@example.org]
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.
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
//Draw the string with scaled graphics
page.Graphics.DrawString("Hello World", titleFont, PdfBrushes.Black, new PointF(150, 150));
//Restore graphics to saved state
//Draw the string with normal state
page.Graphics.DrawString("Hello World", titleFont, PdfBrushes.Black, new PointF(250, 150));
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.