logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Paul Rayman Posted: Sunday, December 1, 2019 7:27:45 PM(UTC)
 
Code:
Pdfium.FPDFPageObj_SetLineWidth(pathObect.Handle, width);
Bazi Posted: Saturday, November 30, 2019 5:57:25 AM(UTC)
 
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