SysGraphicLightSetFont (FUN)

FUNCTION SysGraphicLightSetFont : RTS_IEC_RESULT

<description>

Function to set the font for the following drawn texts. </description>

<param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”pszFontName” type=”IN”>Name of the font that should be created.</param> <param name=”iFontSize” type=”IN”>Size of the font.</param> <param name=”udiFontFlags” type=”IN”>The font flags.</param> <param name=”udiFontCharSet” type=”IN”>The font character set.</param> <param name=”udiFontColor” type=”IN”>The font color.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Return

SysGraphicLightSetFont

RTS_IEC_RESULT

Input

hDisplayContext

RTS_IEC_HANDLE

pszFontName

REFERENCE TO STRING

iFontSize

INT

udiFontFlags

UDINT

udiFontCharSet

UDINT

udiFontColor

UDINT