Support Center

Functionality of Imageman (overlay and printing)

Jason Johansen Feb 08, 2012 12:07PM EST

Disclaimer: I am not a .NET developer, but wanted to ask these questions in lieu of the developer to make sure the correct questions are asked. I could ask our internal developer, but I would rather take this more direct approach.

We own a copy of imageman .NET and are looking to expand our usage of that control. Currently, we use the lasso tool to draw a rectangle in an image in order to measure space (Image size is 100x100; we draw a square that is 50x50; we know that we measured 50% of the image).

Q1) can we obtain the coordinates of the measured rectangle: x1,y1 & x2, y2. We want to store these off and when the image is shown again, remember the coordinates to display the measured area. I am guessing the answer is yes, but just wanted to confirm.


Q2) can we overlay text information in this selected rectangle. For example, I may have a description or properties of the image that I want to know. If I can overlay it onto the measured rectangle, I can easily see the properties related to that image selection.

Q3) Printing. Now I have an image, a lasso-rectangle selection and an overlay text output over the top of that. Can I send all of that to the printer as one image?

2 Data Techniques Responses and 1 Community Responses

Up 3 Rated Down
DTI Support  Data Techniques Employee Feb 08, 2012 12:20PM EST

Hello,

1) Yes, I'm assuming your using the Select Rectangle tool to do the select, you can look at the viewer control's Selection property to get the coordinates of the selected area.

2) Yes, you can use the Drawing methods of the ImageMan.Net components to draw Text or other graphics primitives onto an image.

3) If you draw directly on the image when you print it the text will be a part of the printed image.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

Up 0 Rated Down
Jason Johansen  Data Techniques Employee Feb 08, 2012 12:27PM EST

Excellent and thanks for the quick response. From your answer to #3, it sounds like we are actually changing the image (JPG, for example) by drawing on it, so the resulting save image contains the overlay. Correct?

Assuming I saved the changes, if I bring up the JPG image, it will now have the overlay?

Up -2 Rated Down
DTI Support  Data Techniques Employee Feb 08, 2012 12:33PM EST

Hi,
You're basically loading the image and then drawing text on it. If you save it then Yes, it would have the text on the saved image. Of course you don't have to save it if you don't need to.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

This question is closed to new answers.

Contact Us