Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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