<< Click to Display Table of Contents > View2D |
•Show Coordinates/Working Area/Grid
|
☒ Set ☐ Get |
||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetLongValue(int Value_Type, int Color) |
||
ASCII Function |
int CCI_Return = ScCciSetLongValue(int Value_Type, int Color) |
||
Description |
Set the background color in the View2D. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlLongValueTypeBackgroundColor |
79 |
||
Set the background color in the View2D. |
|||
Color |
Type: int |
Unit: none |
|
From hex value 0x000000 for black to hex value 0xffffff for white. |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
•The color depth is 24 bit, which corresponds to 16.777.216 different colors. |
||
C# Example: Set the background color to white: int CCI_Return = cci.ScSetLongValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeBackgroundColor, 0xffffff); |
Table 375: Background Color View2D
|
☒ Set ☐ Get |
|
---|---|---|
DLL Function |
int CCI_Return = ScExecCommand(int Cmd_ID) |
|
ASCII Function |
- |
|
Description |
Change the AutoSplit Mode for MultiHead. |
|
Cmd_ID |
Type: int |
ID: |
Location: ScComSAMLightClientCtrlExecCommandConstants |
||
scComSAMLightClientCtrlExecCommandAutosplitOn |
67 |
|
Activates the Autosplit Mode for MultiHead. |
||
scComSAMLightClientCtrlExecCommandAutosplitOff |
68 |
|
Deactivates the Autosplit Mode for MultiHead. |
||
scComSAMLightClientCtrlExecCommandDoAutosplit |
69 |
|
Performs the MultiHead split manually. |
||
CCI_Return |
Type: int |
|
CCI return number, see error list. |
||
Notes |
- |
|
C# Example: Activate the Autosplit Mode for MultiHead: |
Table 376: MultiHeadSplit
Show Coordinates/Working Area/Grid
|
☒ Set ☐ Get |
||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetLongValue(int Value_Type, int Mode) |
||
ASCII Function |
int CCI_Return = ScCciSetLongValue(int Value_Type, int Mode) |
||
Description |
Set the status of the Coordinates, Working Area and Grid in the View2D. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlLongValueTypeShowCoordinates |
76 |
||
Hide or show the Coordinates in View2D. |
|||
scComSAMLightClientCtrlLongValueTypeShowWorkingArea |
77 |
||
Hide or show the Working Area in View2D. |
|||
scComSAMLightClientCtrlLongValueTypeShowGrid |
78 |
||
Hide or show the Grid in View2D. |
|||
Mode |
Type: int |
Unit: none |
|
•0: To hide. •1: To show. |
|||
CCI_Return |
Type: int |
||
•CCI return number, see error list. |
|||
Notes |
- |
||
C# Example: Hide the coordinates, working area and grid in View2D: int CCI_Return_01 = cci.ScSetLongValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeShowCoordinates, 0); int CCI_Return_02 = cci.ScSetLongValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeShowWorkingArea, 0); int CCI_Return_03 = cci.ScSetLongValue((int) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeShowGrid, 0); |
Table 377: Coordinates/Working Area/Grid View2D