SRGraphTitle::SetFont

BOOL SRGraphTitle::SetFont(int nSize, int nStyle, CString FaceName)

Initializes the font used in foreground drawing

Defined in: SRGraphTitle.cpp

Return Value

TRUE to signify success (This function always succeeds but derived ones may not)

Parameters

nSize

Size of font -- negative numbers signify height in pixels, positive numbers are for heights in points

nStyle

Binary flags for font style -- 1=BOLD 2=ITALIC 4=UNDERLINE 8=STRIKEOUT (combine using logical OR)

FaceName

String containing typeface name -- no more than 30 characters (eg."Times New Roman")