#1
Posted
:
Saturday, April 15, 2017 9:09:05 PM(UTC)
Groups: Registered
Posts: 50
Dim signature As AnnStampObject = New AnnStampObject()
With signature
Dim img As System.Drawing.Image = Image.FromFile(signatureFilePath)
Dim annPic As AnnPicture = New AnnPicture(img)
.Text = ""
.Picture = annPic
.Rect = New LeadRectD((_imageViewer.Image.Width / _imageViewer.Image.XResolution - 2) * inch, 2.5 * inch, 2 * inch, 0.5 * inch)
.Fill = Nothing
End With
_annAutomation.Container.Children.Add(signature)
#2
Posted
:
Monday, April 17, 2017 9:47:52 PM(UTC)
Groups: Registered
Posts: 50
it is good to have border right after adding stamp, but after burn, border is not needed.
#3
Posted
:
Wednesday, April 19, 2017 9:13:14 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 89
Was thanked: 4 time(s) in 4 post(s)
This method removes the borders of all the annotation container's Stamp objects.
Run within the burn_click event.
Code:private void RemoveBordersAndBurn(RasterImage image, AnnContainer container)
{
foreach(var obj in container.Children)
{
if (obj is AnnStampObject)
obj.Stroke.StrokeThickness = LeadLengthD.Create(0);
}
image = annManager.RenderingEngine.RenderOnImage(container, image);
}
Edited by moderator Tuesday, May 2, 2017 2:22:35 PM(UTC)
| Reason: Not specified
Chris Thompson
Developer Support Engineer
LEAD Technologies, Inc.
#4
Posted
:
Wednesday, April 19, 2017 7:27:28 PM(UTC)
Groups: Registered
Posts: 50
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.