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



Restricts the header to appear fully within the bounding rectangle of the AnnObjectBase.Container of this AnnObjectBase.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub RestrictHeader() 
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
 
instance.RestrictHeader()
C# 
public virtual void RestrictHeader()
C++/CLI 
public:
virtual void RestrictHeader(); 

Remarks

This method works only if the IsHeaderRestricted value of this AnnObjectBase is set to true. Calling this method will move the header (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

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