SysGraphicLightRegisterFont (FUN)

FUNCTION SysGraphicLightRegisterFont : RTS_IEC_RESULT

<description>

Function to register a font, which is downloaded by the user. </description>

<param name=”pbyData” TYPE=”IN”>Font data</param> <param name=”udiDataSize” type=”IN”>Font data size</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> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Return

SysGraphicLightRegisterFont

RTS_IEC_RESULT

Input

pbyData

POINTER TO BYTE

udiDataSize

UDINT

pszFontName

REFERENCE TO STRING

iFontSize

INT

udiFontFlags

UDINT