コード例 #1
0
ファイル: PenCommAgent.cs プロジェクト: Deokbin/WindowSDK2.0
 /// <summary>
 /// 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
 /// </summary>
 /// <param name="rgbcolor">integer type color formatted 0xRRGGBB</param>
 public void ReqSetupPenColor(int rgbcolor)
 {
     if (IsV1Comm)
     {
         mCommV1.ReqSetupPenColor(rgbcolor);
     }
     else
     {
         mCommV2.ReqSetupPenColor(rgbcolor);
     }
 }