Note: This topic is for Document/Medical only.
LEADTOOLS provides functionality for displaying a "header" for each annotation object. An object header is one way of differentiating between multiple objects in a container. LEADTOOLS does not use the object header in any special way and the value has no special meaning. The following properties help you control annotation object headers:
You can restrict the header. If a header is restricted, then it will fully appear on the image. By restricting the header, the offsets used to position the header are therefore limited, based on the header of The WPF annotation object and the font that is being used. Set the value of the
IsHeaderRestricted property to true to restrict the header to appear fully within the bounding rectangle of the container and then call the
RestrictHeader method to move the header (by changing the
HeaderOffset property so the header will be restricted to appear fully within the
Width and
Height properties of the
AnnContainer that contains this
AnnObject).