This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, October 17, 2010 7:04:09 PM(UTC)
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
#2
Posted
:
Monday, October 18, 2010 5:26:22 AM(UTC)
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.