|
|
Code:Pdfium.FPDFPageObj_SetLineWidth(pathObect.Handle, width);
|
|
|
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
|
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