黄玉sigplusnet在报告中透明背景 [英] Topaz sigplusnet in a report with transparent background
问题描述
我在XRPictureBox控件中的DevExpress winforms报告中使用SigPlusNET。它是一个DevExpress控件真的不重要,但这就是我正在使用的。
完全正常。但是,我在报告中有一条水平线,我希望通过签名框显示,以便看起来像是在线上签名的人,这样如果有j或g或其他此类字母在签名中,它不必在线上。如果我把图片框放在线上,那就好了。但如果我重叠它们,盒子就会隐藏线条。我尝试将sp.BackColor设置为透明,但不接受。有没有人知道这是否可以使用SigPlusNET对象?
提前致谢,
AR < br $> b $ b
我尝试过:
I'm using SigPlusNET in a DevExpress winforms report in an XRPictureBox control. it's really not important that it's a DevExpress control but that's what I'm using.
It works completely fine. However, I've got a horizontal line on the report that I would like to show through the signature box so that it looks like the person signed on a line, so that if there's a "j" or "g" or other such letter in a signature it doesn't have to be above the line. If I position the picture box above the line it's all good. But if I overlap them, the box hides the line. I tried setting the sp.BackColor to transparent but it won't accept that. Does anyone know if this is possible with the SigPlusNET object?
Thanks in advance,
AR
What I have tried:
Here's my code:
<pre lang="vb">Dim driverSignatureString As String = Me.GetCurrentColumnValue("DriverSignature").ToString
Dim sp As SigPlusNET = New SigPlusNET
sp.ClearTablet()
sp.SetSigCompressionMode(1)
sp.SetJustifyMode(5) '5 is justify and zoom signature (center of control)
sp.SetJustifyX(12) 'this is really just padding
sp.SetJustifyY(12)
sp.SetImageXSize(300)
sp.SetImageYSize(45)
sp.SetImagePenWidth(5)
sp.SetDisplayWindowRes(True)
sp.SetSigString(driverSignatureString)
Me.xrPicDriverSignature.Image = sp.GetSigImage()
推荐答案
该行的z-order是什么?
通常这只是w中顺序的问题将控件添加到可视树中,该可视树确定哪个控件(部件)覆盖另一个(如果有的话);这就是人们所看到的。
What's the "z-order" of the line?
Usually it's just a question of the order in which controls are added to the "visual tree" that determines which control (part) overlays another, if any; and that is what one sees.
这篇关于黄玉sigplusnet在报告中透明背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!