How to get page dimensions in Abbyy Flexicapture as a field

  • 41 Views
  • Last Post 3 weeks ago
  • Topic Is Solved
PhinkTad posted this 4 weeks ago

Hello,

How can I get the dimensions of a page in Abbyy flexicapture and save it as a variable, so I can have it exported?

For example: fieldname: PageDimension

                    fieldvalue: 4000x6000

something like this.

 

Thank you!

Order By: Standard | Newest | Votes
Ekaterina posted this 4 weeks ago

Hello,

Please use IPictureObject property, see Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Objects > IPictureObject article in the Developer Help

  • Liked by
  • PhinkTad
PhinkTad posted this 3 weeks ago

Hi Ekaterina,

 

I know you can get the value of a field by declaring as below

string str = IField("FieldName").Text;

How do I get the image dimension similar to this? 

Ekaterina posted this 3 weeks ago

Hello,

Please use the IField.Regions[0].Page.Picture.Width / IField.Regions[0].Page.Picture.Height constructions.

Close