The PI Annotation editor control can be used to view, edit, insert and delete annotations for a selected tag and archive value/event.
The editor comes up in standard/default or in VARIANT/String mode depending on the hosting application and the type of the existing annotation (if any). You will not be able to change the mode.
The host application can set this control to read-only mode, in which case all edit features are disabled.
An accompanying dialog form (OSIsoft.PISDK.Controls.PIAnnotationEditDlg) is provided for your convenience. It is a shallow wrapper around the control with very little functionality. It provides a matching, but somewhat limited, public interface for programmatic control and access. The dialog is registered for COM interoperability, which makes it available for COM based hosts like VB6.
Details on how to use the PIAnnotationEditor control and the associated dialogs can be found in the PISDKTools User reference.
What the control looks like in the Visual Studio.NET toolbox.
What the control looks like in an application (Default/Standard mode, embedded in the accompanying dialog).
What the control looks like in an application (Simple VARIANT/String mode, embedded in the accompanying dialog).
When to Use the PIAnnotationEditor Control/Dialog
This control can be used to enter or modify annotations for a predefined archive value/event.