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 : Tuesday, August 8, 2006 10:06:06 PM(UTC)

manju  
manju

Groups: Registered
Posts: 49


Hi,

I'am using Leadtools version 13.0. I loaded one image in the control. I tried to assign same image in the other leadtool control , but the Bitmap value of the Lead1 and Lead2 control are different though i'am loading same inage in both of them. Will you plaese tell me how can i resolve this thing so the bitmap value remains constant when i load image from one control in other. Also the height and width of the both the lead controls are same.

LEAD1.Load "C:\sample.jpg", 0, 1, 1
MsgBox (LEAD1.Bitmap)
LEAD2.Bitmap = LEAD1.Bitmap
MsgBox (LEAD2.Bitmap)

Lead1.Bitmap value is not equal to Lead2.Bitmap.

So, please tell me how can i get the same value for both of them.

Thank you in advance.

- Manjushree

 

 

 

 

 

 

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 : Thursday, August 10, 2006 5:21:12 AM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

I believe the documentation in the help file addresses this issue:

When assigning to this property, a copy of the source control's bitmap is made unless the Main Control's RefBitmap property is set to True.  Use the RefBitmap property to avoid having a second copy of the source image in memory.

You can this information in the LTOCXN.HLP file found in your \LEADTOOLS 14.5\Help. In the Contents Tab expand the "Properties, Methods, and Events" icon, then the "Main Control", then "Properties".

Travis Montgomery
Senior Sales Engineer
LEAD Logo
 
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.049 seconds.