Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, January 3, 2013 8:29:27 PM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Hello,

Can you please tell me how can I print different series images on a single
sheet.
When I select the Series Layout of 2x2 and after adding the multiframe
images (XA) to the layout and trying to take the print, I only get the print
of one cell. I want to print exactly the format that is displaying on the
medicalviewer.
e.g. I want to print the format attached.


Thanks..
File Attachment(s):
12.zip (149kb) downloaded 38 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, January 6, 2013 5:29:27 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


If you mean that you want to print the cells with the same formatting, then you can use our Screen Capture Engine on the active window and print it.
If you mean something else, please let me know.

 
#3 Posted : Sunday, January 6, 2013 10:04:10 PM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Thanks for the reply...

I had tried Screen Capture Engine but with that I get the screen shot of whole window. I only want Image Area like the one I have attached now. The previous screen shot i had attached is just to show the format like how two or more different series images should look like after printing.



File Attachment(s):
13.zip (93kb) downloaded 37 time(s).
 
#4 Posted : Monday, January 7, 2013 4:38:35 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


After you capture the screenshot, you can use the CropCommand class to trim and remove the outside parts you don't need.

Since you will be capturing your own application's window, you can easily find out the coordinates of the rectangle to crop.

 
#5 Posted : Monday, April 15, 2013 9:03:06 PM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Hello,

This is a too lengthy process. Is it not possible to give the print as in case of image layout i.e. directly selecting the layout and give the print?

Or can you give some demo program for doing this in C#.Net.
I am using Leadtools v17 dlls.

Thanks...
 
#6 Posted : Tuesday, April 16, 2013 7:48:57 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


There is no quick and direct way to do this. I'm afraid you'll have to write some code to do it.

If screen capture is not working easily for you, try a different approach:
1. Create an empty bitmap that's big enough to hold all needed images.
2. Get the cell bitmap using the GetCellImage.
3. Combine the cell's image on the big image using the combine function at the correct location for this cell.
4. Repeat steps 2 and 3 for all needed cells.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#7 Posted : Tuesday, June 11, 2013 12:23:59 AM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Hello,

Can you please send me a sample application which uses the above process and combine 4 different cell images in 2x2 format?

Thanks....



 
#8 Posted : Tuesday, June 11, 2013 2:44:53 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


There is a project on our forums to stitch two images together. And this demo applies to your case. See the following link:
http://support.leadtools.com/CS/forums/40654/ShowPost.aspx#40654

This demo combines two images horizontally. You will need to modify it to combine vertically too.  

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.138 seconds.