Visual Basic (Declaration) | |
---|---|
Public Overridable Sub RestrictName() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void RestrictName() |
C++/CLI | |
---|---|
public: virtual void RestrictName(); |
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family