Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsHeaderRestricted Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectBase Class : IsHeaderRestricted Property





Gets or sets a value indicating whether this AnnObjectBase header is restricted to appear fully within the bounding rectangle of the AnnObjectBase.Container. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property IsHeaderRestricted As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim value As Boolean
 
instance.IsHeaderRestricted = value
 
value = instance.IsHeaderRestricted
C# 
public bool IsHeaderRestricted {get; set;}
C++/CLI 
public:
property bool IsHeaderRestricted {
   bool get();
   void set (bool value);
}
XAML Attributes Usage 

<object IsHeaderRestricted=bool .../>

Dependencies Property Information 

Identifier field

IsHeaderRestrictedProperty

Metadata properties set to true

AffectsRender

XAML Attributes Usage 

<object IsHeaderRestricted=bool .../>

Dependencies Property Information 

Identifier field

IsHeaderRestrictedProperty

Metadata properties set to true

AffectsRender

Return Value

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

Example

For XAML example, refer to AnnPolygonObject.

Remarks

When the NameRestrict value of an AnnObjectBase is set to true, calling the AnnObjectBase.RestrictHeader method will move the name (by changing the AnnObjectBase.HeaderOffset property so the header will be restricted to appear fully within the Width and Height properties of the AnnContainer that contains this AnnObjectBase). For more information, refer to WPF Annotation Object Headers.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

IsHeaderRestricted requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.