var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition); var value; // Type: any value = instance.highlightStyle(style.type, style.color, style.position, style.image);
function highlightStyle( (optional) style.type : HighlightType, (optional) style.color : string, (optional) style.position : HighlightPosition, (optional) style.image : string ) : any;
Parameters
- style.type
- typeIndicates the data validation highlightType.
- style.color
- Indicates the data validation highlight color.
- style.position
- Indicates the data validation highlight position.
- style.image
- Indicates the data validation highlight image url or data.
Return Value
If no value is set, returns the hignlight style object; otherwise, returns the data validator.