migradoc Questions
3
Solved
I use MigraDoc for creating pdf documents in the project.
Code below shows how I work with library:
var document = new Document { Info = { Author = "title" } };
Section section = document.AddSe...
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...
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().
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 ...
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?
3
Solved
How can I add a simple horizontal line in Migradoc so as to separate the content above the line from the content below the line?
Paragraph 1
Paragraph 2
Paragraph 3
ETC
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...
2
I have made a class library for PDF-generation. It is implemented using PDFshart-MigraDoc (the core package*). The class library itself is made with .NET Standard as its target framework.
I can u...
Sea asked 4/7, 2018 at 10:15
1
Solved
Have a HEX colour code string in the database ("#ADD8E6") and I want to use this to change the background colour of a MigraDoc cell. I have found Color.Parse() function, however it isn't changing t...
3
Solved
I have a table with a cell where i want two texts, the first, aligned on left and the second aligned on the right, in the same cell, on the same line.
I tried to reproduce this cell with MigraDoc ...
Sandy asked 27/5, 2013 at 13:14
1
Solved
I am creating a PDF using MigraDoc.
Everything works fine except the setting of line spacing of a paragraph.
I want to have more vertical space between paragraph lines.
What I tried so far without...
Convert asked 23/11, 2017 at 10:22
3
Solved
HI Im making a large table in MigraDoc and it automatically splits the table when it gets too large for on page. I have a logo in the header and my table when it goes to page 2 sits over the logo a...
2
Solved
I am trying to place an image as the footer of each page, I can move the footer closer to the bottom of the page using:
doc.DefaultPageSetup.FooterDistance = "0cm"
But I cannot seem to find a wa...
3
I am trying to resize a table automatically to full width of the page. That table should have 2 columns, 50% width each.
How can I achieve this? I tried LeftIndent and RightIndent properties with ...
1
I want to set the minimum height of row. however it seems there is limit
i am using below code [http://forum.pdfsharp.de/viewtopic.php?f=2&t=2812 ]
var spacerRow = t1.AddRow();
spacerRow.Heigh...
1
Solved
I would like to add a table inside another table (inside a specific cell).
I can't find a way to add a Table object to a Cell object.
Is that simply impossible?
Alternatively, I may merge some cel...
2
Solved
I'd like to add an image to the header of a MigraDoc document, but hardcoding a filesystem path in the document generation is slightly problematic for a number of issues - not the least of which is...
2
Solved
I've searched for solution to this problem, but still cannot find the answer. Any help would be appreciated.
Document document = new Document();
Section section = document.AddSection();
Para...
1
Solved
Sorry for I am just beginner of PDFsharp.
How can I set PageSize to a document? Let's say A4. How to set it? Here it is my code. Thanks.
Document document = new Document();
// Add a section t...
1
Solved
I am using MigraDoc to generate PDFs in my ASP.NET5 MVC6 Web Application, which is deployed to the Azure cloud. I am using version 1.50 beta-2, but I have also tried using v1.50 beta-1 and v1.32.
...
Railroad asked 22/9, 2015 at 20:26
1
Solved
I am able to easily add an image to a section in the PDF file with MigraDoc. However, the image is cut in half by the page width.
Is there a way to force the picture to resize so that it complete...
Bey asked 8/7, 2015 at 18:49
1
Solved
I have a MigraDoc table where I specify a row height of 0.75cm, and the text is vertically-aligned in the middle of the cell. When I set cell.Format.Shading.Color to something non-white, there is s...
2
Solved
With MigraDoc I'm trying to put a table in the center of the page.
I'm using this code (c#, VS).
Section secondPage = new Section();
Table table = new Table();
AddColumns(table);
AddFirstRow(tabl...
George asked 24/9, 2014 at 8:25
1 Next >
© 2022 - 2024 — McMap. All rights reserved.