This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 20, 2007 9:46:29 AM(UTC)
Groups: Registered
Posts: 2
Hey all, I'm a newb to leadtools, and having a hard time finding what I'm looking for in the help files:
What I'm looking to do is display a large bitmap and then display smaller bitmaps over the top, and to keep the original bitmaps unchanged to allow for alteration. An example would be being able to add and remove markers from a map image.
Thanks
Arian Goodwin
#2
Posted
:
Friday, July 20, 2007 10:18:38 AM(UTC)
Groups: Registered
Posts: 2
Also, I should have mentioned, I do not have the ability to create new controls dynamically in my programming environment.
#3
Posted
:
Monday, July 23, 2007 6:32:58 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Arian,
One way of doing that is to keep the small images inside
bitmap annotation objects. This can be done if you own a LEADTOOLS Document
Imaging toolkit.
If you need more details, please tell me which LEADTOOLS
programming interface (DLL API, C++ Class Library, .NET classes, etc.) you are
using.
#4
Posted
:
Thursday, January 17, 2008 3:47:02 AM(UTC)
Groups: Registered
Posts: 5
Could please tell how to display multiple images. If possible please provide some samples.
I am using the version : 14.5.0.13 and Interface is VS.net 2005.
Please advice, its urgent!!!
Thanks in advance.
#5
Posted
:
Friday, January 18, 2008 7:07:30 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Could you explain what you're trying to accomplish in more detail? Do you want multiple images overlayed onto the same bitmap or do you want something like a strip of thumbnails you can select and then display in a single large viewer?
Also, please let me know what your LEADTOOLS interface is. By this we mean API, COM, .NET libraries, etc.; not your IDE.
#6
Posted
:
Saturday, February 9, 2008 4:00:02 AM(UTC)
Groups: Registered
Posts: 8
Hi,
I want to show thumbnail view of all pages of a tiff file if it has multi pages.
I try to use RasterImageList but didn't find how to add each page as seperate thumbnail.
Is there any way to show it?
thanxs
#7
Posted
:
Saturday, February 9, 2008 4:03:57 AM(UTC)
Groups: Registered
Posts: 8
I am using vs.net 2005 and Leadtool ver 15
looking for your kind reply
#8
Posted
:
Monday, February 11, 2008 5:16:37 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The RasterImageList does not do this automatically.
You will have to use RasterCodecs.GetInformation to check the number of pages. If it has more than 1 page, then you'll need to loop through and load each page one at a time and create a RasterImageListItem for each page.
#9
Posted
:
Wednesday, April 23, 2008 9:37:42 AM(UTC)
Groups: Registered
Posts: 3
<p>Can you provide a code snippet for what you are talking about? I have a similar issue. I have a byte buffer and I can easily create and PictureBox compatible image from a memorystream of the buffer.</p>
<p>However, I have an RasterImageList that I want to display page thumbnails in, and a RasterImageViewer that I would like to display the selected list thumbnail in.
</p>
<p>BTW, do you have your user manuals and samples (source code) online. I am looking for something similar to the very helpful folks at DevExpress.</p>
#10
Posted
:
Thursday, April 24, 2008 4:13:33 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Here's a code snippet of loading each page of a multipage file into a separate RasterImageListItem:
private void PopulateImageList(string filename)
{
try
{
rasterImageList1.BeginUpdate();
rasterImageList1.Items.Clear();
CodecsImageInfo info = codecs.GetInformation(filename, true);
RasterImage rasterImage = null;
RasterImageListItem listItem = null;
for (int i = 1; i <= info.TotalPages; i++)
{
rasterImage = codecs.Load(filename, 0, CodecsLoadByteOrder.BgrOrGray, i, i);
listItem = new RasterImageListItem(rasterImage, 1, string.Format("Page {0}", i));
rasterImageList1.Items.Add(listItem);
}
rasterImageList1.EndUpdate();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
You can find our Documentation online here:
http://www.leadtools.com/support/WebHelp/
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.