Determine portrait or landscape format

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
Posts: 2
Joined: Fri Jul 03, 2015 12:00 pm

Determine portrait or landscape format

Post by SAFmajo » Fri Aug 25, 2017 11:27 am

Dear all,

we have some scanjobs that have mixed layout formats (portrait and landscape). Is there a way while acquiring each page to determine if the current scanned page is either landscape or portrait formatted (distinguished by text orientation or whatever kind of "magic") ?

many thanks for ideas or hints

Best regards


User avatar
Site Admin
Posts: 5712
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Determine portrait or landscape format

Post by Loïc » Fri Aug 25, 2017 3:55 pm


Your best bet is this wonderful feature: ... ation.html

Please let me know if you need further info.

With best regards,


Posts: 1
Joined: Tue Jan 15, 2019 6:51 pm

Re: Determine portrait or landscape format

Post by jamesmi » Tue Jan 15, 2019 6:55 pm

Very helpful topic. Thanks a lot for that. I emphasize for me so much details to use in my job.
By the way, before that I found several good ideas on the site . If you have free time please check it and describe what do you think.
Best wishes
Last edited by jamesmi on Thu Jan 24, 2019 11:17 am, edited 1 time in total.

Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Determine portrait or landscape format

Post by Gabriela » Thu Jan 17, 2019 2:14 pm


Now a new class is available dedicated to the OCR functionality in GdPicture from version 14.0.28: ... reOCR.html
The above-mentioned GetOrientation() method you can find here: ... ation.html
Here you can find an example of usage: ... 20OCR.html
Kind regards,

GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest