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




Gets or sets a value indicating whether this AnnObject name is restricted to appear fully within the bounding rectangle of the Container.

Syntax

Visual Basic (Declaration) 
Public Overridable Property NameRestrict As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
Dim value As Boolean
 
instance.NameRestrict = value
 
value = instance.NameRestrict
C# 
public virtual bool NameRestrict {get; set;}
Managed Extensions for C++ 
public: __property virtual bool get_NameRestrict();
public: __property virtual void set_NameRestrict( 
   bool value
);
C++/CLI 
public:
virtual property bool NameRestrict {
   bool get();
   void set (bool value);
}

Return Value

true to restrict the name to appear fully within the bounding rectangle of the Container; otherwise, false.

Remarks

When the NameRestrict value of an AnnObject is set to true, calling the RestrictName 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