VisuFctGetMeasureStringResult (FUN)ΒΆ
FUNCTION VisuFctGetMeasureStringResult : BOOL
Function, to get the result of MeasureString. Call the function from HandleInput of the element function block when the EventTag = VISU_ET_MEASURESTRINGRESULT Returns true, when the measuring result is available, else false. After a successful result, the calling element should reset its iTextSizeIndex to avoid a second usage with VisuFctGetMeasureStringResult, where measuring was started for another element.
- InOut:
Scope
Name
Type
Return
VisuFctGetMeasureStringResult
BOOL
Input
pEvent
POINTER TO VisuStructEvent
iTextSizeIndex
INT
szTextSize
POINTER TO VisuStructStaticSize