Rank: Member
Groups: Registered
Joined: 9/19/2019(UTC) Posts: 21  Location: Landshut Thanks: 1 times
|
Hi, with this code i insert Lines to a Page: Code: Private Function InsertLine(ByVal fig As PlanMassDataSet.FigureRow) As Patagames.Pdf.Net.PdfPathObject
Dim fillFS_Color As New Patagames.Pdf.FS_COLOR(fig.FigureStyleRow.LineColor)
Dim pts = fig.GetPointRows
Dim pathObject As Patagames.Pdf.Net.PdfPathObject = Patagames.Pdf.Net.PdfPathObject.Create(Patagames.Pdf.Enums.FillModes.Alternate, False)
pathObject.FillColor = fillFS_Color
pathObject.Path.Add(New Patagames.Pdf.FS_PATHPOINTF(CSng(pts(0).X), CSng(pts(0).Y), Patagames.Pdf.Enums.PathPointFlags.MoveTo))
pathObject.Path.Add(New Patagames.Pdf.FS_PATHPOINTF(CSng(pts(1).X), CSng(pts(1).Y), Patagames.Pdf.Enums.PathPointFlags.LineTo))
pathObject.Path.Add(New Patagames.Pdf.FS_PATHPOINTF(CSng(pts(0).X), CSng(pts(0).Y), Patagames.Pdf.Enums.PathPointFlags.CloseFigure Or Patagames.Pdf.Enums.PathPointFlags.LineTo))
Return pathObject
End Function
I can not find any property to set the linewidth for these Linses. How can i do that? Christian Edited by user Saturday, November 30, 2019 7:03:43 AM(UTC)
| Reason: Not specified
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Code:Pdfium.FPDFPageObj_SetLineWidth(pathObect.Handle, width);
|
|
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can 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