Window::FontName

ClassName

Window

AccessType

public

Name

FontName

Declaration

string FontName

Remark

Examples

EX1

void Window_FontName_ex1()
{
    GraphPage pg;
    pg.Create("myPage");
    pg.GetWindow().SetFont(SYSTEM_FONT);
    string strFont = pg.GetWindow().FontName;    
    out_str(strFont);
    
    double dSize = pg.GetWindow().FontSize;    
    out_double("",dSize);    
}

Description

Returns the font used to display text in a control or in a run-time drawing or printing operation. read only

header to Include

origin.h

See Also

Reference