我正在使用带有签名 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 的哪种对齐方式。准确地说,它会默认显示并左对齐。
文档说:
但它不起作用,我不知道该怎么办。
撒科打诨
相关分类