METHOD GetFontWithColor : VisuStructFont
This method searches for a style entry of type Font and returns the according value if found. Additionally, the passed style name for the font color will be evaluated.
InOut:
|
Scope
|
Name
|
Type
|
Comment
|
Return
|
GetFontWithColor
|
VisuStructFont
|
|
Input
|
stStyleKey
|
STRING
|
The name of the style entry to seach for.
|
fontDefault
|
VisuStructFont
|
The default value to use if the entry is not found.
|
stColorStyleKey
|
STRING
|
The name of the style entry to seach for.
|
udiColorDefault
|
UDINT
|
The default value to use if the entry is not found.
|
pOptResult
|
POINTER TO UDINT
|
An optional result error code. Common result values are Errors.ERR_OK if a valid style was found or Errors.ERR_INVALIDID if no style entry was found. In this case, the method will return the default value.
|
|