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