pdfsharp Questions

9

Solved

We are creating PDF documents on the fly from the database using PDFsharp. I need to know the best way to calculate the height of the text area based on the font used and the available width. I n...
Ynez asked 23/5, 2009 at 10:53

4

Solved

even after reading this forum post, its still quite confusing how to create a bulletted list using migradoc / pdfsharp. I basically want to display a list of items like this: Dodge Nissan Ford Ch...
Ditchwater asked 26/10, 2010 at 15:37

2

Solved

I am currently assessing how to generate a PDF from Xamarin.Forms (currently running the app on Android, only) and checking the .NET Standard port of PdfSharp. Drawing to the PDF and showing it wo...
Intramural asked 8/2, 2018 at 6:49

4

Is there a possibility to extract plain text from a PDF-File with PdfSharp? I don't want to use iTextSharp because of its license.
Recall asked 13/4, 2012 at 12:48

5

Solved

This maybe sounds "easy" but I haven't found a real solution. I need to create Pdf files from Html strings from an API on .Net Core. The library must be free (Not payments or anything related). I f...
Pell asked 21/2, 2020 at 16:26

2

it's should be simple but i couldn't find the answer anywhere in google or the source documentation. someone have asked the same question 4 years ago, but still no one answered! if it's not possi...
Dismantle asked 9/10, 2018 at 9:24

4

Solved

Just started using PDFsharp and it works fine, but now I want to create tables in my PDF, but tried other sources and found nothing. So far I know how to use graph.drawString().
Hoopes asked 30/10, 2017 at 9:13

11

Does the library PDFSharp can - like iTextSharp - generate PDF files *take into account HTML formatting *? (bold (strong), spacing (br), etc.) Previously I used iTextSharp and roughly handled in s...
Shrinkage asked 29/9, 2011 at 12:9

2

Solved

I need PDFsharp's XPS functionality to convert from WPF -> XPS -> PDF. I've tried referencing PDFsharp 1.20, 1.30, 1.31 and also 1.32, but none of these contain the mystical PdfSharp.Xps namespace ...
Lake asked 21/5, 2014 at 14:10

2

Solved

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.IO; using System.Drawing; using PdfSharp; using PdfSharp.Drawing; using ...
Arresting asked 16/12, 2012 at 21:56

2

Is it possible to use PDFsharp library with .NET Core?
Verism asked 6/2, 2020 at 6:24

6

how do I extract Images, which are FlateDecoded (such like PNG) out of a PDF-Document with PDFSharp? I found that comment in a Sample of PDFSharp: // TODO: You can put the code here that converts...
Sooksoon asked 5/4, 2012 at 8:10

1

Solved

How does one add a PDF Form element to a PDFsharp PdfPage object? I understand that AcroForm is the best format for form-fillable PDF elements, but the PDFsharp library doesn't seem to allow you t...
Mauretania asked 1/2, 2019 at 20:15

2

Solved

I want to fill an existing PDF file in my web application (developed in ASP.NET MVC 5). The PDF file has a field named "Text1". In this field I want to write the value "abc". I ...
Luanneluanni asked 14/1, 2021 at 20:25

5

Solved

It seems rather simple, but I can't find something like getPageCount() in the API. I can get it to return the current page, but not the total number of pages. Perhaps I'm missing it? I would like ...
Prentice asked 21/10, 2013 at 15:36

1

how can i add Acroforms (or any inputfields) with pdfsharp lib to a pdf? For example a textbox (PdfSharp::Pdf::AcroForms::PdfTextField) I can't find any example for this, only read/modify. I found...
Hebetate asked 9/8, 2014 at 20:30

3

Solved

Can't seem to find much out there for this. I've a PDF, onto which I'd like to overlay an image of an electronic signature. Any suggestions on how to accomplish that using PDFSharp? Thanks
Gwenore asked 17/9, 2013 at 16:20

4

Solved

I created a barcode as an image in my ASP.NET MVC app. BarcodeLib.Barcode barcode = new BarcodeLib.Barcode() { IncludeLabel = false, Alignment = AlignmentPositions.LEFT, Width = element.Barco...
Fulani asked 3/6, 2017 at 19:29

4

Solved

We are using MigraDoc/PDFsharp GDI+ which depends on having fonts installed to the system in order to render. We have tried embedding the fonts but the GDI+ version of MigraDoc does not seem to sup...
Skirmish asked 9/8, 2016 at 18:44

4

Solved

I need to put an image in the center of a table's cell. When I add the image in a cell the image is aligned topleft. How can I align the image in the center of a cell?
Od asked 13/10, 2014 at 16:9

6

I would like to fill in form fields in a premade PDF doc, but I'm receiving a Null Refrence error with AcroForm when running. string fileN4 = TextBox1.Text + " LOG.pdf"; File.Copy(Path.Combine(...
Cud asked 5/6, 2011 at 2:3

1

Solved

I create a new PDF file using PDFsharp and MigraDoc. Now I want to add a field where the user can click on it and select a certificate for digital signing the file. I found in the web, that this s...
Pycnidium asked 26/8, 2019 at 8:51

3

Solved

I am working on a project where I need to create a Word file. For this purpose, I am using MigraDoc library for C#. Using this library, I am easily able to generate a RTF file by writing : Docume...
Sardella asked 16/6, 2015 at 5:39

2

Solved

Is it possible to scale a page from e.g. A2 to A1 with PDFsharp? I can set the size of the page via Size, Width and Height. But how can I scale the content of the page?
Gravitate asked 27/11, 2017 at 14:48

2

Solved

I'm using PDFsharp 1.50rc2 in my web application (ASP.NET Core 2) to generate PDF. I already follow the example on the PDFsharp site. But got problem to generate it, probably related to the FontFam...
Danelle asked 27/7, 2018 at 3:34

© 2022 - 2024 — McMap. All rights reserved.