PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

pdfsharp pdfsecuritysetting and document orientation
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3021
Page 1 of 1

Author:  BILS [ Mon Jan 05, 2015 3:09 pm ]
Post subject:  pdfsharp pdfsecuritysetting and document orientation

Hello, I'm writing a small c# program to set password to pdf files from an input directory and save those secured document into an output directory.

All pdf are LANDSCAPE oriented

Securization is ok but all the new created pdf are now portrait oriented.

Is it possible to preserve the original orientation without having to use the migradoc api and rotate all pages one by one ?

I use the 1.32 version. ยจ


Thank you for your help.

Author:  () => true [ Mon Jan 05, 2015 5:07 pm ]
Post subject:  Re: pdfsharp pdfsecuritysetting and document orientation

Hi!
BILS wrote:
Is it possible to preserve the original orientation without having to use the migradoc api and rotate all pages one by one?
Probably a bug in PDFsharp.
Can you provide some test files?

Author:  BILS [ Tue Jan 06, 2015 8:14 am ]
Post subject:  Re: pdfsharp pdfsecuritysetting and document orientation

Hello, thank you for your reply, but I cannot give you any sample as this pdf is confidential but I can give you how I'm using the API to secure the pdf so that you could try to reproduce the problem with a blank LANDSCAPE page into a pdf.

Regards,

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/