Rank: Newbie
Groups: Registered
Joined: 8/8/2025(UTC) Posts: 1
|
Hi everyone, I'd like to know how to set blend effects on PdfInkAnnotation objects. As of this moment I'm creating the line this way Quote: var annotation = new PdfInkAnnotation(page); annotation.Color = new FS_COLOR(1f, color.r, color.g, color.b); annotation.LineStyle = new PdfBorderStyle(); annotation.LineStyle.Style = BorderStyles.Solid; annotation.LineStyle.Width = 5; var pdfLinePoint = new PdfLinePointCollection<PdfInkAnnotation>(); annotation.InkList = new PdfInkPointCollection();
for (var j = 0; j < positions.Count; j++) { pdfLinePoint.Add(new FS_POINTF(x, y)); }
annotation.InkList.Add(pdfLinePoint); annotation.RegenerateAppearances(); page.Annots.Add(annotation);
and then I'm saving it to an existing PDF, I can see everything but I'd like to set a BlendType to the line to see the effect on a PDF reader. How can I do that? I've tried creating a PdfFormObject and set its BlendType but I'm not seeing the effect when I save it. Thanks in advance
|
|
|
|
|
|
Forum Jump
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.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close