Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
RestrictName Method
See Also 
Leadtools.Annotations Namespace > AnnObject Class : RestrictName Method




Restricts the name to appear fully within the bounding rectangle of the 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()
Managed Extensions for C++ 
public: virtual void RestrictName(); 
C++/CLI 
public:
virtual void RestrictName(); 

Remarks

This method works only if the NameRestrict value of this AnnObject is set to true. Calling this method will 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). For more information, refer to Annotation Object Names.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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