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!
![]() |
TCP edition |
Post Reply
|
| Author | |
softwaredev
Beginner
Joined: 01 Sep 09 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: TCP editionPosted: 01 Aug 10 at 6:31PM |
|
Found this in the samples.
Using the C# classA 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?
|
|
![]() |
|
softwaredev
Beginner
Joined: 01 Sep 09 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store