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.
Unfortunately, activation email could not send to your email. Please try again.

How to maximum number of lines in a pdf page?

Thread ID:

Created:

Updated:

Platform:

Replies:

119311 Jun 4,2015 02:59 AM Jun 9,2015 07:50 AM ASP.NET Web Forms 3
loading
Tags: PDF
Ushanandhini
Asked On June 4, 2015 02:59 AM

Hi

I tried to set maximum number of lines in pdf page using syncfusion, but i dint get any code line regarding this. Please help me on this. Waiting for your suggestion.

Thanks in advance :)

Abirami Selvan [Syncfusion]
Replied On June 8, 2015 12:29 AM

Hi  Ushanandhini,


If you have to set a page margins please refer the bellow code snippet

           doc.PageSettings.Margins.All = 40;

           doc.PageSettings.Size = new SizeF(512, 810);

           doc.PageSettings.Orientation = PdfPageOrientation.Portrait;


Can you please provide more information regarding your requirement, So that we will analyze in this and provide you the solution.


Regards,
Abirami.


Ushanandhini
Replied On June 8, 2015 01:51 AM

Hi Team

Thanks for your response....

I don't want to set the page size and margins.I want to set maximum number lines in a pdf page.
For eg. Consider a pdf document is having 300 lines in a page, but i want to set 50 lines per page. So that it will become 6 pages of document.

Is there anyway/any pdf page properties to set the max. no. of lines per page?. Kindly suggest some properties.

Abirami Selvan [Syncfusion]
Replied On June 9, 2015 07:50 AM

Hi Ushanandhini,

Sorry for the delay response.

We are rendering  the texts in pdf document based on the positions. We draw the text using coordinates positions, so we can’t set manually the no of lines per page in pdf document. Could you please let us know the feature which you are using to create the PDF document, like PdfGrid or PdfLightTable or loading existing PDF document. Else please share the code snippet which you are using to generate the PDF document.

Thanks,
Abirami.

CONFIRMATION

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.

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.

;