SysGraphicLightDrawText (FUN)¶
FUNCTION SysGraphicLightDrawText : RTS_IEC_RESULT
- <description>
- Function to draw a text, based on top left and bottom right. Only the first line, if more than one is given. </description> 
<param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”rectangle” type=”IN”>Rectangle description.</param> <param name=”pszText” type=”IN”>Will be either:
- <ul>
<li>char* if TF_WSTRING is not set in udiDrawFlags</li> <li>short* if (TF_WSTRING is set in udiDrawFlags)</li>
</ul>
</param> <param name=”udiDrawFlags” type=”IN”>Draw flags. Defined in IEC-Code for Visualization.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
- Scope - Name - Type - Return - SysGraphicLightDrawText- RTS_IEC_RESULT- Input - hDisplayContext- RTS_IEC_HANDLE- rectangle- SimpleRectangle- pszText- POINTER TO BYTE - udiDrawFlags- UDINT
