PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon May 28, 2018 8:03 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Apr 26, 2018 4:05 am 
Offline

Joined: Thu Apr 26, 2018 4:00 am
Posts: 1
Hi there,

Thanks for a cool library!

I am downloading a pdf file from the Google Drive API to get a Google Sheet file as a pdf.
The Google drive always returns the PDF in portrait mode.

Is it possible to use PDFSharp to convert the pdf file into a landscape mode?
The main problem is that the text itself must not be rotated, and it must also resize to fill in the new page width and arrange the new pages based on the new page height.

Is this even possible?

Clement


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 26, 2018 6:21 am 
Offline
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 376
Location: CCAA
clement_911 wrote:
Is this even possible?
The Two Pages on One sample does such a job.

PDFsharp was not built to extract text. You need a lot extra code to extract the text and let it float into a new layout. But it is possible.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group