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 : Sunday, October 17, 2010 7:04:09 PM(UTC)

compvis  
compvis

Groups: Registered
Posts: 6


Hi,
I see in CSAnnotitationDemo sample, the function CreateEditDesigner with sample code like:

private AnnEditDesigner CreateEditDesigner(AnnObject annObject)
{
AnnEditDesigner editDesigner = null;
if(annObject is AnnGroupObject)
{
editDesigner = new AnnNewGroupEditDesigner();
}
else if(annObject is AnnLineObject)
{
editDesigner = new AnnLineEditDesigner();
}
else if(annObject is AnnRectangleObject)
{
editDesigner = new AnnRectangleEditDesigner();
}
else if(annObject is MyTriangleObject)
{
editDesigner = new MyTriangleObjectEditDesigner();
}

return editDesigner;
}

With AnnImageObject, which designer is used for it ?

Thanks
 

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 : Monday, October 18, 2010 5:26:22 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

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

By design, the AnnImageObject does not have a designer. It's only created by code. If you would like to use and object with a designer, you can use AnnStampObject which takes an image.
 
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.053 seconds.