LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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 AnnObject.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;}
C++/CLI 
public:
virtual property bool NameRestrict {
   bool get();
   void set (    bool value);
}

Property Value

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

Remarks

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