<< Click to Display Table of Contents > 

Client Control Interface Manual > Pen Settings > Bitmap

Bitmap
Previous pageReturn to chapter overviewNext page

The following command can be found under Mark Edit... Bitmap:

Bitmap Settings

Pen Enable Flags, see Pen Settings

oPixel Hardware Mode

oPen PixelMap

oPen Power as Max Power

oUse Vector Delays

Pen PixelMaps, see Advanced Settings

Bitmap Handling Mode

Bitmap Settings
 

Set

Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int Parameter)

int Parameter = ScGetLongValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetLongValue(int Value_Type, int Parameter)

int Parameter = ScCciGetLongValue(int Value_Type)

Description

Set bitmap Handling Mode and related parameter

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypeBitmapPixelHardwareMode

89

Pixel Hardware Mode Enable.

scComSAMLightClientCtrlLongValueTypeBitmapPenPowerAsMaxPower

90

Pen Power as Max Power Enable.

Parameter

Type: int

Unit: none

0: Disable

1: Enable

CCI_Return

Type: int

CCI return number, see error list.

Notes

The pen number has to be set by ScSetPen.

Both checkboxes can be set and get with Pen Enable Flags as well.

C# Example: Enable the pixel hardware mode:

 

int CCI_Return = cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeBitmapPixelHardwareMode, 0 );

C# Example: Get the pixel hardware mode enable state:

 

int Pixel_Hardware_Mode = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeBitmapPixelHardwareMode );

Table 105: Bitmap Settings

Bitmap Handling Mode
 

Set

Get

DLL Function

int CCI_Return = ScSetDoubleValue(int Value_Type, double Parameter)

double Parameter = ScGetDoubleValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Parameter)

double Parameter = ScCciGetDoubleValue(int Value_Type)

Description

Set the Bitmap Handling Mode and the related parameters

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeBitmapMode

192

Bitmap Handling Modes:

o0: B&W Normal

o5: Gray Advanced

scComSAMLightClientCtrlDoubleValueTypeAccelRamp

189

scComSAMLightClientCtrlDoubleValueTypeLineShift

191

scComSAMLightClientCtrlDoubleValueTypePowerShift

220

Parameter

Type: int

Unit: depends on constant

The corresponding value.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The pen number has to be set by ScSetPen.

"Improved Bitmap Handling" must be first enabled.

C# Example: Set Gray Advanced Mode and set Accel. Ramp to 120 µs:
 

int CCI_Return = cci.ScSetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeBitmapMode, 5);

int CCI_Return = cci.ScSetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeAccelRamp, 120);

Table 106: Bitmap Handling Mode