IVisualizationStyle.GetFontWithColor (METH)ΒΆ
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
GetFontWithColorInput
stStyleKeySTRINGThe name of the style entry to seach for.
fontDefaultThe default value to use if the entry is not found.
stColorStyleKeySTRINGThe name of the style entry to seach for.
udiColorDefaultUDINTThe default value to use if the entry is not found.
pOptResultPOINTER 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.