function Leadtools.Annotations.Core.AnnStickyNoteObject()
The sticky note object is a Picture rendered around single point (the center). This point is the first entry in the Points collection and all others are ignorred. This object does not support fill, stroke nor font.
This object supports using the SelectionStroke and by default when the value of IsSelected is true, it will use the stroke to draw a rectangle around the image instead of using a selection thumb.
With the automated functions, in design mode, the sticky point object is formed with a click or tap event.
Programmatically, the boundaries and location of the sticky note object can be controlled using the following properties:
Each object can be transformed with the following methods:
The AnnStickyNoteObject class inherits a number of properties from the AnnObject class, it does not support fill, stroke or font by overrides SupportsSelectionStroke to return true.
The name of the sticky note object can be controlled using Labels property, inherited from the AnnObject class.
An object can be part of a group annotation object or part of a container object. It cannot be part of both a group and a container at the same time.
The following properties can also be used to programmatically set characteristics of an AnnStickyNoteObject:
This example creates a sticky note object and adds it to the automation container.