Description
This enum defines possible styles that can be used to render an image in a tool palette.
Image.Render function is used to render the loaded image. The image must be loaded before it can be rendered. The function fails if the handle to the device context is NULL, or if the image is not loaded. Styles NORMAL and SELECTED are mutually exclusive and cannot be combined. If they are combined, selection takes the precedence. HALO and SHADOW can be used in combination with the other styles.
Visual Basic
Public Enum DrawImageOption Halo = 4 Normal = 1 Selected = 2 Shadow = 8 End Enum
C#
public enum DrawImageOption { Halo = 4, Normal = 1, Selected = 2, Shadow = 8 }
Members
Members | Description |
---|---|
Halo = 4 | A halo is drawn around the image. |
Normal = 1 | Rendered as is. |
Selected = 2 | Image is drawn, blending 50 percent with the system highlight color, which is useful for showing the image in the selection state. |
Shadow = 8 | A drop shadow for the image is drawn. |