Questions tagged [sharppdf]

SharpPDF is a .NET 1.1 library for simple PDF document creation.

Last version 2.0 Beta 2, 2005/02/14. Project abandoned.

License: LGPL.

http://sharppdf.sourceforge.net/

17 questions
13
votes
1 answer

MemoryStream, Cannot access a closed stream

With the sharpPDF library I generate a pdf memory stream, and I want to send it directly via email. But the line ms.Seek(.... gives an ObjectDisposedException; Cannot access a closed Stream. The pdf.CreatePDF method takes either an (output)…
bretddog
  • 5,411
  • 11
  • 63
  • 111
3
votes
1 answer

SharpPDF create PDF in Serverside asp .Net C#

I have samples to create PDF, however for the server side creation of PDF there is no documentation about SharpPDF. I think it is about stream concept, which I have no information about it. pdfDocument myDoc = new pdfDocument("TUTORIAL",…
efirat
  • 3,679
  • 2
  • 39
  • 43
2
votes
0 answers

Unity 3d SharpPdf C# generation and display

I was trying to figure out how to generate and display a pdf in a Unity app. I would like the app, and pdf to be available for iOS, Android and web app. Following this tutorial I was able to generate a pdf file and store in the app main folder…
1
vote
0 answers

SharpPDF for ASP.net core 2.2.x

I am trying to use SharpPDF with Asp.net core 2.2, I have "Install-Package HtmlRenderer.PdfSharp -Version 1.5.0.6", but when I try to access that page within my application that uses SharpPDF I get "Could not load file or assembly 'HtmlRenderer,…
Atle Kristiansen
  • 707
  • 7
  • 28
1
vote
0 answers

How can use tables tag in shartPDF

I am using shartPDF to generate pdf. i want to use table tag but don't know how to use table tag in asp.net. Anyone have any idea. Thanks in advance
Pankaj Agarwal
  • 11,191
  • 12
  • 43
  • 59
1
vote
1 answer

How do you justify a paragraph in sharpPDF?

I have a asp.net MVC project that uses sharpPDF (http://sharppdf.sourceforge.net/) to create PDFs. There are 20+ PDFs written using sharpPDF, so switching to another PDF generator probably isn't possible at this stage (and our client is unlikely to…
boilers222
  • 1,901
  • 7
  • 33
  • 71
1
vote
1 answer

addImage not working in SharpPDF

I've been using the sharpPDF API to try and create pdf images inside Unity3D. The hello world test went fine but no matter what I do I can't get images to work. Using the ddImage function makes the pdf reader crash and using newAddImage seems to do…
Al Wyvern
  • 199
  • 1
  • 15
1
vote
3 answers

I'm trying to use PDFSharp but I can't find predefinedFont.csHelvetica

This is the code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using sharpPDF; namespace Lightnings_Extractor { class PDF { pdfDocument myDoc = new pdfDocument("Lightnings-Graphs",…
Daniel Lip
  • 3,867
  • 7
  • 58
  • 120
0
votes
0 answers

how to printpreview and print SharpPDFLabel in vb.net

how to printpreview and print SharpPDFLabel in vb.net? As per the link with the documentation below : https://github.com/finalcut/SharpPDFLabel/tree/master but there is an error in the code below Response.AddHeader. is there something wrong with my…
roy
  • 693
  • 2
  • 11
0
votes
1 answer

WP SharpPDF NuGet Package

I have a problem when I use the Windows App Certification Kit with the SharPDF-SL.dll. The test fails and says The binary SharpPDF-SL.dll is built in debug mode. I downloaded this library with NuGet so I can't rebuild the dll in release mode.…
0
votes
0 answers

Unity3d sharpPDF plugin different color of rows and cells

I am using sharpPDF plugin in Unity. I see that there is .rowStyle and .alternateRowStyle in there, but I need all rows (or even maybe cells) to be different color. For example first row should be Red, second should be Blue, third should be Yellow…
filipst
  • 1,547
  • 1
  • 30
  • 55
0
votes
0 answers

Encrypt jsPDF generated pdf to SharpPDF

i'm generating a pdf in my client using jsPDF, and want to encrypt it in my server app with SharpPDF, but when im trying to pass the jsPDF to SharpPDF i get that it can't recognize some characters: here is the pdf value using jsPDF output and then…
David Sttivend
  • 325
  • 1
  • 6
  • 16
0
votes
1 answer

Migradoc & sharpPDF

I have a problem concerning integrating both Migradoc and SharpPDF. I am creating a pdfpage with text with the pdfpage.add(text) function. (SharpPDF) However I also am creating a chart from data using the functionality of MigraDoc. So my PDF code…
Revils
  • 1,478
  • 1
  • 14
  • 31
0
votes
1 answer

Split into two lines long string in sharppdf

I write the below code to declare a table row with sharpPDF. pdfTableRow tableRow = resultTable.createRow(); tableRow[0].columnValue =…
Antonio
  • 1,181
  • 4
  • 15
  • 34
0
votes
2 answers

Convert System.Drawing.Printing.PrintDocument to PDF c#

I have to use a 3rd party SDK that generates reports in a System.Drawing.Printing.PrintDocument format. Since my project is not a Windows Form project(it is a Web project),I need to convert this System.Drawing.Printing.PrintDocument to a PDF. I have…
user1550951
  • 369
  • 2
  • 9
  • 26
1
2