KSC Open API
Kaspersky Security Center API description
|
List of diagram creation attributes
Name | Type | Description | Remarks |
---|---|---|---|
"KLDSH_OPT_FILENAME" | paramString | Output file name for the png image; must have ".png" extension. | This attribute is required. |
"KLDSH_OPT_WIDTH" | paramInt | Sets diagram width. | Required. |
"KLDSH_OPT_HEIGHT" | paramInt | Sets diagram height. | Required. |
"KLDSH_OPT_DRAW_VALS_IN_LEGEND" | paramBool | Draw numeric values in the legend | Optional. The default value is true. |
"KLDSH_OPT_STYLES" | paramInt | Diagram styles. A set of flags joined with or may be used. See List of diagram styles. | Optional. |
"KLDSH_OPT_STYLES_MASK" | paramInt | Diagram styles mask. See "KLDSH_OPT_STYLES" and List of diagram styles. | Optional. |
"KLDSH_OPT_COLORS" | paramArray | Diagram counters colors. Each collection entry is an integer that describes a color. Lowest byte (byte 0) is red, byte 1 is green, byte 2 is blue, and the highest byte (byte 3) must be zero. | Optional. |
"KLDSH_OPT_FONTNAME" | paramString | Name of the font. | Optional. |
"KLDSH_OPT_FONTSIZE" | paramInt | Size of the font in pixels. | Optional. |
"KLDSH_OPT_FONTNAME_BOLD" | paramString | Name of the bold font. | Optional. |
"KLDSH_OPT_FONTSIZE_BOLD" | paramInt | Size of the bold font in pixels. | Optional. |
"KLDSH_OPT_COLOR_BKG" | paramInt | Background color. | Optional. The default value is 0x00FFFFFF (white). |