Accusoft.NotateXpress13.Net
NoteIcon Property
Example 




Gets and sets the icon associated with the Notetool.
Syntax
'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
[BrowsableAttribute(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public IntPtr NoteIcon {get; set;}
[BrowsableAttribute(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public: __property IntPtr get_NoteIcon();
public: __property void set_NoteIcon( 
   IntPtr value
);
[BrowsableAttribute(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public:
property IntPtr NoteIcon {
   IntPtr get();
   void set (    IntPtr value);
}

Property Value

The handle to an icon.
Remarks

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.

Example
How to load in an icon handle
private System.Drawing.Icon mynewicon; nope
mynewicon = new System.Drawing.Icon("c:\\images\\test.ico");
NotateXpress1.NoteIcon = mynewicon.Handle;
See Also

Reference

NotateXpress Class
NotateXpress Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback