LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RestrictName Method
See Also 
Leadtools.Annotations Namespace > AnnObject Class : RestrictName Method



Restricts the name to appear fully within the bounding rectangle of the AnnObject.Container of this AnnObject.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub RestrictName() 
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
 
instance.RestrictName()
C# 
public virtual void RestrictName()
C++/CLI 
public:
virtual void RestrictName(); 

Remarks

This method works only if the AnnObject.NameRestrict value of this AnnObject is set to true. Calling this method will move the name (by changing the AnnObject.NameOffset property so the name will be restricted to appear fully within the Bounds property of the AnnContainer that contains this AnnObject). For more information, refer to Annotation Object Names.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features