for this line:
c.WidthPercentage = 100F
i am getting this error:
Error 1 'WidthPercentage' is not a member of 'iTextSharp.text.Table'.
here's the entire code. it's taken directly from the tutorial
Imports System
Imports System.Drawing
Imports System.IO
Imports iTextSharp.text
Imports iTextSharp.text.pdf
Namespace iTextSharp.tuto...
I'm attempting to create a PDF file from an HTML file. After looking around a little I've found: wkhtmltopdf to be perfect. I need to call this .exe from the ASP.NET server. I've attempted:
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.FileName = HttpContext.Current.Server.MapPath("wkhtmltopdf.e...
anyone know if these are available?
...
i'm writing an application in objective-c (using cocoa). i have a PDF template, i need to substitute actual values into placeholders in PDF and then save the result into new PDF.
how can i do it? which library should i use?
...
does this mean the image will be locked in place no matter what's around it?
...
in vb.net i have some code that looks like this:
Imports System
Imports System.IO
Imports iTextSharp.text
Imports iTextSharp.text.pdf
Public Class Form1
Public Sub New1()
Directory.SetCurrentDirectory("C:\Users\alexluvsdanielle\Desktop\") '"
Console.WriteLine("Chapter 10 example 10: nested PdfPTables")
Dim...
This code used to work but doesnt any more. i used a breakpoint, and after this line: Dim jpeg As Image = Image.GetInstance("test.jpg") it just does not execute anymore code.
Imports System
Imports System.IO
Imports iTextSharp.text
Imports iTextSharp.text.pdf
Public Class Form1
Public Sub New1()
Directory.SetCurrentDirect...
I want to read and display the contents of the PDF files into my RichtextBox. I am using windows application C#. Is it possible? What is the way to do it?
...
I'm creating a PDF with iText version 2.1.0. I have to create a "detail" cell in a cell of a table. I did this nesting a table inside that cell. The problem with this approach is that the borders of the nested table don't touch the borders of the container cell. What I am looking for is for a table nested inside a cell whose borders don'...
Does anyone know how to get TCPDF to output a .GIF file with a specific number of inches width x height?
I am trying to get a GIF embedded in a PDF so that it will print at exactly 4x6 inches. I tried this:
$this->setpageUnit('in');
$this->Image($tmp, 0, 0, 4, 6, 'gif', '', '', true);
But that only seemed to result in a blank page....
Whether I use XTextFormatter or not, I get the same error about the LayoutRectangle having to have a height of 0 or something like this.
new PdfSharp.Drawing.Layout.XTextFormatter(_gfx).DrawString(text
, new PdfSharp.Drawing.XFont(fontName, fontSize, (PdfSharp.Drawing.XFontStyle)fontStyle)
, new PdfSharp.Drawing.XSolidBrush(Pd...
Hey all, was wondering if anyone could point me to the right direction. I'm curious about how I would go about creating a PDF programmatically on the iPhone. The documentation mentions CGPDFDocumentCreateWithProvider but i'm not sure how to go about using it. Thanks!
...
i am writing some code in vb.net that will be generating a pdf file. i am going to be placing text and images in the pdf file. instead of doing trial and error on positioning the text and images using the pixel coordinates, i would like to be able to know exactly the coordinates of something on a pdf file. so for example i would like to ...
If i am exporting a document in PDF and kept in public so that any users can download and read it. Now i want to track this. How many times the PDF got opened.
Note that my question is not to track while i download, we need to track when the PDF is opened. Is there any kind of script that is invoked when the PDF is opened so that acroba...
Hello,
I am working on a Silverlight web application that creates PDF documents. We want our clients to print these PDF documents but we do not want them to see it or save it locally.
Is there a way to send PDF data directly to client's printer without opening it in client's browser?
Please advice.
...
I have a web page that downloads a pdf version of an ssrs report through a link. However when I make changes to the data, the browser pulls up the same pdf file as before without the updated information (the pdf file stored in the temp folder). If I then go to another browser and download the PDF I get the new version, but the other brow...
Guys,
I am trying to figure out how to export a crystal report into a PDF file from an ASP.NET application. I got it to work, however, I want the group tree to show up as bookmarks in the PDF. From what I've found on google, the way to do this is to declare an instance of the CrystalDecisions.Shared.PDFFormatOptions class, then set the ...
I'm looking to create some PDF's from Python.
I've noticed that some pdf's have sidebar text that allows you to see the context of occurrences of search terms.
e.g. search for "dictionary"
View in Sidebar:
Page 10 Assigning a value to an existing dictionary key simply replaces the old value with a new one.
How is that done?
Is the...
I want to read an existing PDF file, get not only the text, but also the format information like: Font (Bold, Italic...), and paragraphs... Is there an code library for doing this, is it open source or commercial?
I am on Windows and favor C# libraries, but C/C++ is also acceptable.
...
Hi all
can you please suggest some web tool (will provide DLL) to convert doc, excel and PDF to image at minimum cost. i m a dot.net developer and need to implement these feature in my web application....
Thanks
...