EmfStockObject

EmfStockObject enumeration

The StockObject enumeration specifies the indexes of predefined logical graphics objects that can be used in graphics operations.The specific structures of stock objects are implementation-dependent; however, the properties of stock objects SHOULD be equivalent to the properties of explicitly created objects of the same type. These properties are specified where possible for the stock objects defined in this enumeration.

public enum EmfStockObject

Values

NameValueDescription
WHITE_BRUSH-2147483648A white, solid-color brush that is equivalent to a logical brush (LogBrushEx object, section 2.2.12) with the following properties: BrushStyle: BS_SOLID (WMF BrushStyle enumeration, [MS-WMF] section 2.1.1.4) Color: 0x00FFFFFF (WMF ColorRef object, [MS-WMF] section 2.2.2.8)
LTGRAY_BRUSH-2147483647A light gray, solid-color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00C0C0C0
GRAY_BRUSH-2147483646A gray, solid-color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00808080
DKGRAY_BRUSH-2147483645A dark gray, solid color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00404040
BLACK_BRUSH-2147483644A black, solid color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00000000
NULL_BRUSH-2147483643A null brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_NULL
WHITE_PEN-2147483642A white, solid-color pen that is equivalent to a logical pen (LogPen object, section 2.2.19) with the following properties: PenStyle: PS_COSMETIC + PS_SOLID (PenStyle enumeration, section 2.1.25) ColorRef: 0x00FFFFFF (WMF ColorRef object).
BLACK_PEN-2147483641A black, solid-color pen that is equivalent to a logical pen with the following properties: PenStyle: PS_COSMETIC + PS_SOLID ColorRef: 0x00000000
NULL_PEN-2147483640A null pen that is equivalent to a logical pen with the following properties: PenStyle: PS_NULL
OEM_FIXED_FONT-2147483638A fixed-width, OEM character set font that is equivalent to a logical font (LogFont object, section 2.2.13) with the following properties: Charset: OEM_CHARSET (WMF CharacterSet enumeration, [MS-WMF] section 2.1.1.5) PitchAndFamily: FF_DONTCARE (WMF FamilyFont enumeration, [MS-WMF] section 2.1.1.8) + FIXED_PITCH (WMF PitchFont enumeration, [MS-WMF] section 2.1.1.24)
ANSI_FIXED_FONT-2147483637A fixed-width font that is equivalent to a logical font with the following properties: Charset: ANSI_CHARSET PitchAndFamily: FF_DONTCARE + FIXED_PITCH
ANSI_VAR_FONT-2147483636A variable-width font that is equivalent to a logical font with the following properties: Charset: ANSI_CHARSET PitchAndFamily: FF_DONTCARE + VARIABLE_PITCH
SYSTEM_FONT-2147483635A font that is guaranteed to be available in the operating system. The actual font that is specified by this value is implementation-dependent
DEVICE_DEFAULT_FONT-2147483634The default font that is provided by the graphics device driver for the current output device. The actual font that is specified by this value is implementation-dependent
DEFAULT_PALETTE-2147483633The default palette that is defined for the current output device. The actual palette that is specified by this value is implementation-dependent
SYSTEM_FIXED_FONT-2147483632A fixed-width font that is guaranteed to be available in the operating system. The actual font that is specified by this value is implementation-dependent
DEFAULT_GUI_FONT-2147483631A fixed-width font that is guaranteed to be available in the operating system. The actual font that is specified by this value is implementation-dependent
DC_BRUSH-2147483630The solid-color brush that is currently selected in the playback device context
DC_PEN-2147483629The solid-color pen that is currently selected in the playback device context

See Also