【发布时间】:2018-05-29 08:12:21
【问题描述】:
我将 Wacom STU 530 signature tab 与 Signature SDK v3.20.4 一起使用。
我的问题是创建标签时的文本衬里。
/* 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 中的哪种对齐方式。准确的说,默认是左对齐显示的。
文档说:
但它不起作用,我不知道该怎么办。
【问题讨论】:
-
购买的时候随SDK一起提供文档,不知道官方有没有不带SDK的方式获取文档。 developer-docs.wacom.com/display/DevDocs/…
-
哇,非常有限的平台。
标签: c# signaturepad wacom