c# - Wacom API,标签上的 TextAlign 不起作用
问题描述
我正在使用带有 Signature SDK v3.20.4的Wacom STU 530 签名选项卡。
我的问题是创建标签时的文本衬里。
/* 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) {
//Here I create a label with center align
WizCtl.AddObject(ObjectType.ObjectText, id, x, y, text, TextOptions.TextAlignCenter);
//Here I display the newly added elements on the signature pad
WizCtl.Display();
}
问题是它永远不会对齐,无论我使用 TextOptions 中的哪种对齐方式。准确地说,它会默认显示并左对齐。
文档说:
但它不起作用,我不知道该怎么做。
解决方案
我联系了 Wacom 的开发人员支持并得到了答复。
很抱歉,即使在手册中记录了文本对齐和点击事件,API 中也没有实现它们。
所以就今天而言,用这个 API 是不可行的。
推荐阅读
- r - 调解 R 包 p 值:获得更多有效数字的解决方法?
- angular - 如何使用 Jest/Spectator 在 Angular 中测试路由/导航?
- liquid - FetchXML 查询在流动模板中不起作用
- javascript - HTML表单输入类型文件用javascript预选值
- caching - Apache2.4 +AEM+HEAD
- sql - 使用 SQL Server 存储过程时出现 VBScript 错误“需要对象”
- r - 为什么 R.Version() 返回“语言”字符串?
- security - 在 Bug Sur (11.0.1) 上提示蓝牙权限
- powershell - 在 VSCode 中,settings.json,错误:“草案 2019-09 模式尚未完全支持。(768)”
- vb.net - 整数排序问题