This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, November 4, 2008 11:43:15 PM(UTC)
Groups: Registered
Posts: 5
Hi,
I am using C#.net leadtools ver 16.0.
I am creating custom stamp object on button click.
I am able to create the object, but unable to move or resize the object. Please help.
Image StampImage = Image.FromFile(@"E:\Umbravista\UmbraVista\UmbraVista\Images\cart.jpg");
AnnPicture customStampImage = new AnnPicture(StampImage);
customStampImage.TransparentColor = Color.Black;
customStampImage.TransparentMode = AnnPictureTransparentMode.None;
AnnStampObject implant = new AnnStampObject();
implant.Visible = true;
implant.Picture = customStampImage;
implant.Bounds = new AnnRectangle(10, 20, customStampImage.Image.Width, customStampImage.Image.Height, AnnUnit.Pixel);
automation.Container.Objects.Add(implant);
Thanks
Jacob
#2
Posted
:
Wednesday, November 5, 2008 4:44:35 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Jacob,
Is this issue still active, or was it solved when you solved the AnnTextObject issue when you could not move it?
If it's still active, did you make sure that the AnnContainer.UserMode is set to Design?
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.