Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - TCP edition
  FAQ FAQ  Forum Search   Register Register  Login Login

TCP edition

 Post Reply Post Reply
Author
Message
softwaredev View Drop Down
Beginner
Beginner


Joined: 01 Sep 09
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote softwaredev Quote  Post ReplyReply Direct Link To This Post Topic: TCP edition
    Posted: 01 Aug 10 at 6:31PM
 
Found this in the samples.
 

Using the C# class

A C# client is available in the [installation folder]\TCP\Client\CSharp directory.

Here is an example program:

QuickPDFTCP0719.Client qp = new QuickPDFTCP0719.Client();
if (qp.Connect("127.0.0.1", 10005))
{
    if (qp.UnlockKey("your license key here") == 1)
    {
        qp.DrawText(100, 500, "Hello from C# via TCP/IP");
        qp.SaveToFile("C:\\test.pdf");
    }
}
Note that all directories are relative to the server.
 
Question: C# project how do I add a reference to the QuickPDFTCP0719 ? Like is it the same exe that was used to install the service?
 
 
 
Back to Top
softwaredev View Drop Down
Beginner
Beginner


Joined: 01 Sep 09
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote softwaredev Quote  Post ReplyReply Direct Link To This Post Posted: 01 Aug 10 at 6:45PM
 
Ok, think I figured it out myself. It is a Csharp class in itself. Since my project was VB.NET I first created a separate CSharp class (library DLL) and then compiled it. Added that CSharp project as a reference to the VB.NEt class and now able to see all the implementations.
 
Now next step to try it out and see if it creates the PDf correctly as desired.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store