Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2006, 03:25 AM
Authorized User
 
Join Date: Nov 2005
Location: hyderabad, andhra Pradesh, India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jvraman
Default PDF

How do we construct a pdf file with a given set of values in C#.
Can any 1 help in this regards.

Regards
Venkat
__________________
Regards
Venkat
 
Old July 24th, 2013, 04:15 AM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, here is how you can create PDF file in C#:
Code:
// Create a new empty document.
var document = new DocumentModel();

// Add document content.
document.Sections.Add(
    new Section(document,
        new Paragraph(document, "Hello world!")));

// Save the document to a PDF file.
document.Save("Document.pdf");
I used this C# Word component.
 
Old February 23rd, 2018, 02:21 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2018
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can try out ZetPDF.com , it worked for me . it will work for you ^^




Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF DARSIN General .NET 2 August 14th, 2013 04:10 AM
Dot net - Converting word to pdf and pdf to word Manoah Classic ASP Basics 2 July 7th, 2008 10:21 PM
inline PDF naheedv Pro JSP 3 June 8th, 2007 01:34 AM
pdf rajessnit@gmail.com Oracle 0 November 18th, 2006 03:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.