亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Wacom Signature SDK 重新設計按鈕

Wacom Signature SDK 重新設計按鈕

C#
墨色風雨 2021-06-29 16:01:36
我使用的是帶有 Signature SDK v3.20.4的Wacom STU 530 簽名選項卡,文檔似乎只在購買 SDK 時提供,因此我無法在此處提供鏈接,但您可以找到一些代碼樣品在這里。我的問題是重新設計簽名板上顯示的按鈕,我找不到方法。一些代碼:/* We have this controller which was placed in a windows form* It's that object that will mainly communicate with the Wacom tab* It's already initialized, I'm showing this to just to show the type & name */AxWizCtl WizCtl;bool success = WizCtl.PadConnect()if(isSuccess) {    WizCtl.Font = new Font("Arial", 20, FontStyle.Bold);    WizCtl.AddObject(ObjectType.ObjectButton, id, x, y, text, null);    /*     * And now what? I can only change the font and dimensions.    * How could I change things like the border or the color?    * I don't even know how I can access the newly created object    */    WizCtl.Display();}而且我知道這一定是可能的,這個 SDK 有這個方法CaptureResult res = SigCtl.CtlCapture("who", "why");(SigCtl作為一個AxSigCtl對象)可以顯示帶有彩色按鈕的預定義表單,但我想構建自己的。此外,與字體更改不同,這不起作用:AxWizCtl WizCtl;bool success = WizCtl.PadConnect()if(isSuccess) {    WizCtl.Font = new Font("Arial", 20, FontStyle.Bold);    WizCtl.BorderColor = Color.DarkOrange;    WizCtl.BackColor = Color.HotPink;    WizCtl.BorderWidth = 3;    WizCtl.AddObject(ObjectType.ObjectButton, id, x, y, text, null);      WizCtl.Display();}
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 184 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號