Class Library Documentation for Neo smartpen SDK
PenCommV1ReqSetupPenColor Method |
Sets the color of pen ink.
If you want to change led color of pen, you should choose one among next preset values.
violet = 0x9C3FCD
blue = 0x3c6bf0
gray = 0xbdbdbd
yellow = 0xfbcb26
pink = 0xff2084
mint = 0x27e0c8
red = 0xf93610
black = 0x000000
Namespace: Neosmartpen.Net.Protocol.v1
Assembly: Neosmartpen.Net.Protocol.v1 (in Neosmartpen.Net.Protocol.v1.dll) Version: 2.1.13.0 (2.1.13)

C#
public bool ReqSetupPenColor( int rgbcolor )
Parameters
- rgbcolor
- Type: SystemInt32
integer type color formatted 0xRRGGBB
Return Value
Type: Booleantrue if the request is accepted; otherwise, false.
