Accusoft.NotateXpress13.Net
NoteIcon Property
Example 




Gets and sets the icon associated with the Notetool.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
Public Property NoteIcon As IntPtr
'Usage
 
Dim instance As NotateXpress
Dim value As IntPtr
 
instance.NoteIcon = value
 
value = instance.NoteIcon
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public IntPtr NoteIcon {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public: __property IntPtr get_NoteIcon();
public: __property void set_NoteIcon( 
   IntPtr value
);
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
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

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback