Input for WinForms | ComponentOne
C1.Framework Namespace / C1BitmapIcon Class
Members

In This Topic
    C1BitmapIcon Class
    In This Topic
    Represents an icon created from an image.
    Syntax
    'Declaration
     
    
    Public Class C1BitmapIcon 
       Inherits C1Icon
    public class C1BitmapIcon : C1Icon 
    Remarks
    The file that you use should be a solid image on a transparent background. The bitmap image is expected to be a true bitmap that has transparent pixels and non-transparent pixels. The recommended format is PNG. Other file-format image sources will load but result in a solid block of the foreground color. Caution: Resizing bitmaps at runtime might hurt application performance and result in blurry images. Consider using fixed-size images where possible.
    Inheritance Hierarchy

    System.Object
       C1.Framework.C1Icon
          C1.Framework.C1BitmapIcon

    See Also