We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Page Scaling, Line Breaks

Thread ID:





51993 Nov 19,2006 06:53 AM UTC Nov 21,2006 06:33 PM UTC ASP.NET Web Forms (Classic) 3
Tags: PDF
Asked On November 19, 2006 06:53 AM UTC


I have two question regarding to PDF tool

Is it possible to adjust the Page Scaling property of a PDF file from Syncfusion?

When you write text in a label, if you use the character
a new line is automatically created, Is possible make the same thing with the draw.MultipleText with the PDF tool?

Thanks in advanced.

Administrator [Syncfusion]
Replied On November 20, 2006 05:51 PM UTC

Hi Zet,

Thank for your interest in Essential PDF.

1] Yes, it is possible to adjust the page scaling in both grid model and flow model. The PageSize property of PDF Document is used to set the size of the page.

Here is a sample code.

[C# -- Grid Model]

//Set the page size propertry.
pdfDoc.LastPage.Size = new SizeF(300,300);
[C# -- Flow Model]

//Set the page size property.
section.PageSetup.PageSize = new SizeF(300,300);

2] Yes, it is possible to give the new line character in DrawMultiText property. Here, we can use “\n” to end up the current line and move to new line.

Here is a sample code.


// Set the new line.
pdfDoc.Graphics.DrawMultiText(new PointF(50,50),new SizeF(300,100),"This is first line \nThis is second line \nThis is third line",font);

you can find a sample at the following path demonstrating page size setting and line break that can be made with Essential PDF.


Please take a look at this and let me know if you have any other queries.


Replied On November 20, 2006 09:23 PM UTC

I was wondering something similar,
is it possible sending the parameters from Syncfusion when you are in acrobat and you try to print a page that the page scaling has the none value assigned?

my question is because when you see the PDF it is showed in the screen correctly, but when you sends it to the printer, some scaling is applied.


Administrator [Syncfusion]
Replied On November 21, 2006 06:33 PM UTC

Hi Erick,

Currently it is not possible to take a print out of PDF page with our desired page size.
The Essential PDF is only used to create PDF documents and we can not apply the
page size property to take print out. How ever I will update you as soon as this
feature is implemented .



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon