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

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Bazi  
#1 Posted : Saturday, November 30, 2019 8:57:25 AM(UTC)
Quote
Bazi

Rank: Member

Groups: Registered
Joined: 9/19/2019(UTC)
Posts: 21
Germany
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 10:03:43 AM(UTC)  | Reason: Not specified

Paul Rayman  
#2 Posted : Sunday, December 1, 2019 10:27:45 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 881

Thanks: 3 times
Was thanked: 108 time(s) in 105 post(s)
Code:
Pdfium.FPDFPageObj_SetLineWidth(pathObect.Handle, width);
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
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.