Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8165159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:28:23+00:00 2026-06-06T19:28:23+00:00

I have samples to create PDF, however for the server side creation of PDF

  • 0

I have samples to create PDF, however for the server side creation of PDF there is no documentation about SharpPDF. I think it is about stream concept, which I have no information about it.

pdfDocument myDoc = new pdfDocument("TUTORIAL", "ME");
pdfPage myPage = myDoc.addPage();

myPage.addText("Hello World!", 200, 450, sharpPDF.Enumerators.predefinedFont.csHelvetica, 12);
myDoc.createPDF(@"c:\test.pdf");
myDoc.
myPage = null;
myDoc = null; 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:28:25+00:00Added an answer on June 6, 2026 at 7:28 pm

    There is an overload for createPDF that takes a Stream. You can use this to create the PDF in memory on the server and then stream it back to the client.

    Here is an example (tried with ShartPDF version 1.3.1):

    PdfDocument myDoc = new pdfDocument("TUTORIAL", "ME");
    pdfPage myPage = myDoc.addPage();
    myPage.addText("Hello World!", 200, 450, predefinedFont.csHelvetica, 12);
    
    Response.ContentType = "application/pdf";
    myDoc.createPDF(Response.OutputStream);
    Response.Flush();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In SQL Server 2008, I have the following tables: CREATE TABLE samples (SampleID int,
I have tried to create a simple controller/model (based on the samples code of
I have to create an sample code that connect to a socket server, and
Wanting to create custom data annotation validation. Are there any useful guides / samples
I need to create a PDF Report using iTextSharp. I have an excel sample,which
I have found several samples about retrieving test results using the TFS API, but
There has been many Questions recently about drawing PDF's. Yes, you can render PDF's
I am developing an application in which i have to create multi page PDF
We have tried to create sample webservices helloworld in Java using Jersey and Tomcat
I have a sample file like the following: CREATE GLOBAL TEMPORARY TABLE tt_temp_user_11 (

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.