ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Drawing 30 Rectangles on a Bitonal TIFF Image using IEvolution

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
brandonbrown Posted - Dec 17 2021 : 07:27:50
I am developing an app that is for viewing the return data from OCR'd fields on a bitonal TIFF image.

What I really need to do is to add 30 areas on this form, rectangles around the fields that were read for verification.

I am not sure if Annotations are what you should use, or Layers with rectangles drawn on them, or really if this how you would do this at all.

Any recommendations on what part of the toolkit to use? I didn't really want to convert it to a Windows Bitmap and write all of that additional code.

Sample is attached.

Any commentary is welcomed before I start this part of the project off!

Thoughts?

Download Attachment: 2021121772632_SINGLE1.TIF
3   L A T E S T    R E P L I E S    (Newest First)
brandonbrown Posted - Dec 20 2021 : 11:33:37
I think I figured it out, thanks for getting me on the right path!
brandonbrown Posted - Dec 20 2021 : 11:18:06
Thanks Nigel! I got my first layer loaded as an image. Is there an example piece of code for laying a Shape, rectangle in the layer?
xequte Posted - Dec 18 2021 : 21:51:45
Hi Brandon

Why not just add shape layers?

You can add the layer to a IEViewer using LayersAdd(1):

https://www.imageen.com/ievolutionhelp/html/c46197c9-b2cb-e55a-3136-823005478089.htm

And set the shape as rectangle using IEShapeLayer.Shape = 4

https://www.imageen.com/ievolutionhelp/html/86a17422-c493-473e-54c6-c3146271e93d.htm

Nigel
Xequte Software
www.imageen.com