VisuEnumRedundancyValueChanged (ENUM) ¶ TYPE VisuEnumRedundancyValueChanged : Enum for different possible actions to do when in visu redundancy we change a visu variable on the active device. Attributes: qualified_only InOut: Name Initial Comment NoChange 0 no action is done on the passive device OnlySyncArea the value is changed on the passive device if the variable belongs to one of the synchronized areas Always the value is always changed on the passive device
VisuFctGetElementEntry (FUN) ¶ FUNCTION VisuFctGetElementEntry : POINTER TO VisuStructElementClientDataEntry InOut: Scope Name Type Return VisuFctGetElementEntry POINTER TO VisuStructElementClientDataEntry Input pClientData POINTER TO VisuStructClientData iPos DINT
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.