Skip to main content

Questions tagged [migradoc]

MigraDoc Foundation is an open source .NET library that easily creates documents based on an object model with paragraphs, tables, styles, etc. and renders them into PDF or RTF. Use this tag for questions related to MigraDoc using any platform and any programming language.

0 votes
1 answer
15 views

Migradoc measure table cell content

Is it possible to measure migradoc table cell content length? I want to create a table component which will recalculate columns width according actual content length and settings. As for now, I can ...
Anton Putau's user avatar
0 votes
1 answer
65 views

How to resolve all available fonts and get list of fonts which can be rresolved when creating PDF?

PDFsharp-MigraDoc 6.1.0 Core build uses fallback font resolver static ReportTemplateBase() { GlobalFontSettings.FallbackFontResolver = new FailsafeFontResolver(); } Running it from Visual ...
Andrus's user avatar
  • 27.3k
0 votes
0 answers
32 views

Remove Extra Border Under Table Between Page Breaks?

I am using MigraDoc (v1.50.5147) with .NET Framework 4.5.2 on Visual Studio 2015. I am making a simple Packing Slip PDF document, that shows a list of containers and parts inside each container. There ...
user18463824's user avatar
0 votes
1 answer
44 views

How to fill in the blank spaces in a PDF file using C# and MigraDoc?

Good day I have a .pdf file that is filled in manually after printing it. Now I am digitizing this process. I want to be able to fill in the blank spaces in the file digitally. I am using C# and ...
Siyabonga Kubeka's user avatar
1 vote
1 answer
282 views

MigraDoc documentation

I am trying to create a PDF using MigraDoc and C#. At the moment I am stuck as I wasn't able to find an exhaustive documentation of that library, just some code examples on the official github page of ...
The Piccion's user avatar
0 votes
0 answers
23 views

Process unknown varied HTML markup into PDF using MigraDoc

In an ASP.NET app written in C#, I have been using MigraDoc to produce PDF files. It works well with just text. But we have some fields that are HTML enabled by means of editors like TinyMCE. In some ...
citm09's user avatar
  • 5
1 vote
1 answer
93 views

I need to create a PDF file and inside the PDF file I need to give table with rows and columns using MigraDoc PDFsharp NuGet packages

I want to add tables, rows, columns to my PDF. Can you suggest any coding for creating PDF file and also I need to add logo to my header part. I need a PDF with 6 pages with required footer and within ...
Elsa N's user avatar
  • 25
1 vote
0 answers
30 views

Why is this nullref error displayed as such and what does it means? [duplicate]

I'm sorry if this has already been answered, but for the love of me I can't find any way to formulate the problem. I'm going through a Unity crash log, in which I found the only nullref there is, ...
RayureBob's user avatar
1 vote
1 answer
163 views

How to use fonts from wwwroot/fonts folder with NewFontsResolver

ASP.NET MVC application has fonts in ots wwwroot/fonts subfolder. How to force NewFontResolver to use fors from this directory in both Linux and windows? In Linux NewFontResolver searches also ...
Andrus's user avatar
  • 27.3k
1 vote
1 answer
132 views

How to set page header starting from second page

First page in Migradoc PDF file should not have page header. All remaining pages should have same header. I tried var document = new Document { }; var Section = document.AddSection(); ...
Andrus's user avatar
  • 27.3k
1 vote
1 answer
71 views

How to make last line of wrapped text in PDf fully visible

PDFs are created from report template which contains text fields having left, height, width and top properties: Paragraph does not have position and size. So text is added to paragraph inside ...
Andrus's user avatar
  • 27.3k
1 vote
1 answer
94 views

How to use unicode characters in MigraDoc in Linux

In latest Migradoc 6.0.0-preview-3, some unicode characters in PDF file appear as not accented in Linux. To to reproduce, run in Debian in ASP.NET MVC controller static ReportTemplateBase() { ...
Andrus's user avatar
  • 27.3k
1 vote
0 answers
109 views

MigraDoc/PDFSharp hiding specific data label value from Pie Chart

I am using PDFSharp/MigraDoc to generating a PDF report. I am using MigraDoc Chart to draw a Pie2D shape based on two series as appearing in below snapshot using the following code. I want to hide the ...
Zeeshanef's user avatar
  • 709
-1 votes
1 answer
183 views

PdfSharp System.NotImplementedException: Cannot create value for key: /Info

I have written an app in C# with Visual Studio using PdfSharp & MigraDoc. This works fine. When I build the app as standalone exe then the app will crash when I will calculate the text with with ...
Crizzly's user avatar
-1 votes
1 answer
41 views

Unable to set width for a PDF documents in MigraDoc library

i am encounter a problem with the zoom level of the PDF.when i open the document By default,it showing with a zoom level of 25% because of page width(185). This can make the document look too small on ...
user avatar

15 30 50 per page
1
2 3 4 5
27