pdfsharp Questions
5
Solved
0
Questions:
Is ZetPDF just PDFSharp in disguise?
Is this product going to stick around?
Who are ZetPDF?
We are currently using PDFSharp to create our PDFs from scratch. We need to be abl...
2
How does one wrap text inside the rectangle using PDFsharp?
In my attempts the text still extends off the PDF's page. Here is what was tried:
rect = new XRect(20, 300, 400, 100);
tf.Alignment = X...
1
Completely unable to render JPEG image to PDF using PdfSharpCore.
Code is as simple as
public byte[] GetPdfContent()
{
ImageSource.ImageSourceImpl = new ImageSharpImageSource();
var document ...
Momentous asked 21/6, 2018 at 5:39
6
Solved
I'm constantly hitting an OutOfMemoryException inside a method that creates and processes some byte arrays. The code looks like this:
Create MemoryStream to get some data (about 60MB).
Create byt...
Aerodyne asked 27/3, 2012 at 12:54
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
2
Solved
I use PDFsharp (v1.32) for merging several PDF files. I open documents using this code:
PdfDocument inputDocument = PdfReader.Open(pdfFilePath, PdfDocumentOpenMode.Import);
And while opening one...
2
Solved
Can iTextSharp compress PDF files? I am looking for a PDF library that can be used in development to compress PDF files. Essentially, I have a list of folders that contain many PDF files ranging fr...
Birth asked 19/5, 2016 at 13:33
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...
1
Solved
I am making an application that creates a watermark on a PDF that the user selects and I can't seem to get the watermark to appear on the selected PDF but I also get no errors. Any help would be ap...
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
Is there any way in PDFSharp to embed the digital signature in pdf file.
Proffer asked 11/12, 2015 at 9:31
2
Solved
I am trying to get new line but if I use \n it does not work.
Any way to have new line by adding something to string like \r\n (which also does not work)
gfx.DrawString("Project No \n" + textBoxP...
1
I have this code for printing the PDF Document from file stream (using PdfSharp Library):
private HttpResponseMessage PrintPdfDocument2(MemoryStream fileStream)
{
HttpResponseMessage result = ne...
Kalin asked 22/12, 2015 at 7:56
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
Discovered a problem with PDFSharp when drawing in different scales using scale transform.
In this example we draw two rectangles in different scales, generate a XPS from FixedDocumentSequence and...
Splashboard asked 24/11, 2016 at 10:21
1
Solved
I have a method called Save which saves a PDF document at a specified location.
PdfDocument Document=new PdfDocument();
public void Save(string pathWithFileName)
{
Document.Save(pathWithFileName)...
3
Solved
PDFSharp supports automatic text wrapping when drawing long text portions:
textFormatter.DrawString(text, font, XBrushes.Black, new XRect(x, y, textAreaWidth, 1000), XStringFormats.TopLeft);
Thi...
Darrickdarrill asked 17/3, 2013 at 13:6
4
I'm using PDFSharp to generate a PDF document with fields filled in. When the doc is saved, I'd like it to be read-only, aka flattened. I've tried the below, but still, when opening the PDF in Adob...
Agata asked 9/10, 2013 at 19:6
2
I have downloaded and installed PDFSharp 1.5 and I am having trouble using private fonts. I have created in testing a pdf creator and it works great. When I load it into Azure it gives me the error...
1
Solved
I made some file merging using PDFsharp before, and now I'm trying to change several files (insert or remove some pages) and I faced with problem, that the library does not see pages. It says that ...
4
Solved
I still fight with read data from PDF file. I use PDFsharp, how can I check if file contains iref stream without use method Open. Method Open throws exception if file contains iref stream.
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...
© 2022 - 2024 — McMap. All rights reserved.