Annotation Object Names

Show in webframe
Note: This topic is for Document/Medical only. LEADTOOLS provides functionality for displaying a "name" for each annotation object. An object name is one way of differentiating between multiple objects in a container. LEADTOOLS does not use the object name in any special way and the value has no special meaning. The following properties help you control annotation object names: Whenever the Draw method of the owner container of an AnnObject is called, it calls the Draw method which in turn calls the DrawObject method to draw the object itself (if the Visible property is true), the DrawName method to draw the name of the object (if the NameVisible property is true) and then finally the DrawLocked method to draw the locked object (if the object is currently locked). You can restrict the name. If a name is restricted, then it will fully appear on the image. By restricting the name, the offsets used to position the name are therefore limited, based on the name of the annotation object and the font that is being used. Set the value of the NameRestrict property to true to restrict the name to appear fully within the bounding rectangle of the Container and then call the RestrictName method to move the name (by changing the NameOffset property so the name will be restricted to appear fully within the Bounds property of the AnnContainer that contains this AnnObject).

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.