LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
IsHeaderRestricted Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObject Class : IsHeaderRestricted Property



The IsHeaderRestricted Property supports WPF/Silverlight.

The IsHeaderRestricted Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value indicating whether this AnnObject header is restricted to appear fully within the bounding rectangle of the container. This is a dependency property.Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property IsHeaderRestricted As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
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);
}

Property Value

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

Example

For XAML example, refer to AnnPolygonObject.

Remarks

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

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.