2.2.4.17.12 GraphLayer::GetActualFontSizeText


Description

Get actual font size depends on the layet scale

Syntax

void GetActualFontSizeText( string & str, int nSize )

Parameters

str
[output] actual font size text
nSize
[input] font size

Return

Examples

EX1

void GraphLayer_GetActualFontSizeText_ex1()
{
    GraphLayer gl = Project.ActiveLayer();
    if( !gl.IsValid() )
        return;

    string str;
    gl.GetActualFontSizeText(str, 18);
    
    printf("GetActualFontSizeText : %s\n", str);
}

Remark

See Also

Header to Included

origin.h