Export (0) Print
Expand All

Icon Members

Represents a Windows icon, which is a small bitmap image used to represent an object. Icons can be thought of as transparent bitmaps, although their size is determined by the system.

The following tables list the members exposed by the Icon type.

  Name Description
Public method Supported by the .NET Compact Framework Icon Overloaded. Initializes a new instance of the Icon class from the specified file name.
Top

  Name Description
Public property Supported by the .NET Compact Framework Handle Gets the Windows handle for this Icon. This is not a copy of the handle; do not free it.
Public property Supported by the .NET Compact Framework Height Gets the height of this Icon.
Public property Size Gets the size of this Icon.
Public property Supported by the .NET Compact Framework Width Gets the width of this Icon.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Clone Clones the Icon, creating a duplicate image.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by this Icon.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static ExtractAssociatedIcon Returns an icon representation of an image contained in the specified file.
Public method Static Supported by the .NET Compact Framework FromHandle Creates a GDI+ Icon from the specified Windows handle to an icon (HICON).
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static Supported by the .NET Compact Framework GetHicnFromIcon Returns a pointer to an Icon.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Save Saves this Icon to the specified output Stream.
Public method ToBitmap Converts this Icon to a GDI+ Bitmap.
Public method Supported by the .NET Compact Framework ToString Overridden. Gets a human-readable string that describes the Icon.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft