VisuFctGetIsNativeElementEventWithResult (FUN) ¶ FUNCTION VisuFctGetIsNativeElementEventWithResult : BOOL InOut: Scope Name Type Return VisuFctGetIsNativeElementEventWithResult BOOL Input pEvent POINTER TO VisuStructEvent
VisuFctGetMeasureString2Result (FUN) ¶ FUNCTION VisuFctGetMeasureString2Result : BOOL This function is used to retrieve the result of a previous call to MeasureString2. Normally this function is called from the HandleInput method of a visu element. InOut: Scope Name Type Comment Return VisuFctGetMeasureString2Result BOOL TRUE if the result was returned successfully. Input pCurrentClientData POINTER TO VisuStructClientData Points to the current client data. pEvent POINTER TO VisuStructEvent Points to the event, that was passed to method HandleInput diMeasureStringID DINT Identifies the request to measure the string. Pass here the return value of method MeasureString2. paiHeightAndWidths POINTER TO ARRAY [0..0] OF INT Points to an array of INT values, where the result of the string measuring will be stored. For a string of length N the positions 0 … N - 1 will be used to store the widths of the beginning substrings. The value at index N will be used to store the height of the measured string. iEffectiveArraySize INT The effective number of elements of the array above. Normally here will be passed N + 1 (if the length of the measured string is N)
VisuFctAddChecksumForConverted (FUN) ¶ FUNCTION VisuFctAddChecksumForConverted : VisuTypeChecksum InOut: Scope Name Type Return VisuFctAddChecksumForConverted VisuTypeChecksum Input cs1 VisuTypeCheckSum cs2 VisuTypeCheckSum
VisuFctAdjustElemRectAndSelectRect (FUN) ¶ FUNCTION VisuFctAdjustElemRectAndSelectRect Helper function to adjust the size of the element rectangle and position of the selection rectangle if the element is selected. InOut: Scope Name Type Comment Input pCurrentPosition POINTER TO VisuStructSimpleRectangle current element rectangle pSelectionData POINTER TO Visu_StructSelectionData iEffectiveLineWidth INT SelectedElement IVisualElement Output iLineWidth INT
VisuFctCalculateCompleteSurroundingSimpleRectOfElemArray (FUN) ¶ FUNCTION VisuFctCalculateCompleteSurroundingSimpleRectOfElemArray : VisuStructSimpleRectangle InOut: Scope Name Type Comment Return VisuFctCalculateCompleteSurroundingSimpleRectOfElemArray VisuStructSimpleRectangle Input IElemArray POINTER TO ARRAY [0..0] OF IVisualElement iElemCount INT bComplete BOOL Set bComplete to True to calculate the complete surrounding rect (includes line width e.g.) instead of just the surrounding rect
VisuFctCalculateSurroundingSimpleRectOfElemArray (FUN) ¶ FUNCTION VisuFctCalculateSurroundingSimpleRectOfElemArray : VisuStructSimpleRectangle InOut: Scope Name Type Return VisuFctCalculateSurroundingSimpleRectOfElemArray VisuStructSimpleRectangle Input IElemArray POINTER TO ARRAY [0..0] OF IVisualElement iElemCount INT
VisuFctCheckClientSupportsFramePreview (FUN) ¶ FUNCTION VisuFctCheckClientSupportsFramePreview : BOOL This function checks if client data is not null and the client supports frame swiping with preview. Returns false if clientData is null. InOut: Scope Name Type Comment Return VisuFctCheckClientSupportsFramePreview BOOL Input pClientData POINTER TO VisuStructClientData The client data. Will be checked for null.
VisuFctCheckClientSupportsTouch (FUN) ¶ FUNCTION VisuFctCheckClientSupportsTouch : BOOL This function checks if client data is not null and the client supports multitouch or touch. Returns false if clientData is null. InOut: Scope Name Type Comment Return VisuFctCheckClientSupportsTouch BOOL Input pClientData POINTER TO VisuStructClientData The client data. Will be checked for null.
Visu_ClientType (ENUM) ¶ TYPE Visu_ClientType : This enumeration is in fact the same than Visu_ClientTypeItf within VisuItfs. To prevent damaging installations of older versions where Visu_ClientType was already defined within VisuElemBase (-> Ambiguity), we must not move this enum to VisuItfs without renmaing it. As Visu_ClientType was part of the visualization elements interface and cannot be removed for that reason, we have those duplicates here! REMARK: When doing changes here, please adapt VisuItfs.Visu_ClientTypeItf accordingly too!!! InOut: Name Initial ProgrammingSystem 16#1 TargetVisualization 16#4 WebVisualization 16#8
Visu_DialogResult (ENUM) ¶ TYPE Visu_DialogResult :