Accusoft.NotateXpressSdk Namespace > NotateXpress Class : NoteIcon Property |
'Declaration <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> Public Property NoteIcon As IntPtr
'Usage Dim instance As NotateXpress Dim value As IntPtr instance.NoteIcon = value value = instance.NoteIcon
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IntPtr NoteIcon {get; set;}
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: __property IntPtr get_NoteIcon(); public: __property void set_NoteIcon( IntPtr value );
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: property IntPtr NoteIcon { IntPtr get(); void set ( IntPtr value); }
Make sure that the icon does not go out of scope, as the application controls ownership of the icon.
Note: This property should be set once as its associated with the NotateXpress object.
private System.Drawing.Icon mynewicon; nope mynewicon = new System.Drawing.Icon("c:\\images\\test.ico"); NotateXpress1.NoteIcon = mynewicon.Handle;