1

我正在使用带有 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 中的哪种对齐方式。准确地说,它会默认显示并左对齐。

文档说:

WizCtl.AddObject(ObjectType.ObjectText) 的文档 TextOptions 的文档

但它不起作用,我不知道该怎么做。

4

1 回答 1

0

我联系了 Wacom 的开发人员支持并得到了答复。

很抱歉,即使在手册中记录了文本对齐和点击事件,API 中也没有实现它们。

所以就今天而言,用这个 API 是不可行的。

于 2018-05-29T14:30:37.590 回答