Community

How to get page dimensions in Abbyy Flexicapture as a field Answered

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!

Was this article helpful?

0 out of 0 found this helpful

Comments

3 comments

  • Avatar
    Ekaterina

    Hello,

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

    1
  • Avatar
    PhinkTad

    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? 

    0
  • Avatar
    Ekaterina

    Hello,

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

    0

Please sign in to leave a comment.