Which Developer SDK should I download, if I wanna convert .doc or .html to .pdf files?
and are there some samples?
which Developer SDK is Office2PDF in?
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: which Developer SDK is Office2PDF in?
There is no such SDK for now.. You may use PDF-XChange Drivers API SDK for converting .doc or .html documents to PDF but this printer driver would not create hyperlinks in the resulting PDF file.
Re: which Developer SDK is Office2PDF in?
but PDF-XChange Drivers API SDK doesn't provide C# examples, can I use C# to do it? and how I could do?
and the Delphi examples cannot compile, the wrong message is:
[Fatal Error] Main.pas(7): File not found: 'PXCComLib_TLB.dcu'
what can I do?
and the Delphi examples cannot compile, the wrong message is:
[Fatal Error] Main.pas(7): File not found: 'PXCComLib_TLB.dcu'
what can I do?
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: which Developer SDK is Office2PDF in?
To run Delphi example you need to import "PDF-XChange V4.0 Type Library". To do this you need to:
1. Install PDF-XChange 4
2. In Delphi 7 (or earlier) menu "Project-> Import Type Library..."
In Delphi 2007 (or Later) menu "Component->Import Component...", choose "Import a Type Library", "Next".
3. Select "PDF-XChange V4.0 Type Library"
4. Select Palette Page (for example ActiveX)
5. Select Install and Create Unit
Also here is small sample for C#
1. Install PDF-XChange 4
2. In Delphi 7 (or earlier) menu "Project-> Import Type Library..."
In Delphi 2007 (or Later) menu "Component->Import Component...", choose "Import a Type Library", "Next".
3. Select "PDF-XChange V4.0 Type Library"
4. Select Palette Page (for example ActiveX)
5. Select Install and Create Unit
Also here is small sample for C#
- Attachments
-
- PDFdriverAPIExample86.zip
- (23.58 KiB) Downloaded 232 times
Re: which Developer SDK is Office2PDF in?
which option should I set if I donnot wanna show the PrintDialog box?
and my purpose is very simple, just convert .html or .doc file to .pdf,
i think the simplest usage is to call the function Printer.PrintDocument(), but it seems not work
and my purpose is very simple, just convert .html or .doc file to .pdf,
i think the simplest usage is to call the function Printer.PrintDocument(), but it seems not work
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: which Developer SDK is Office2PDF in?
As I know in examples provided with PDF-XChanage, PrintDialog is not in use. Or you still have some problems with running this examples?
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: which Developer SDK is Office2PDF in?
You can display or not the 'save As Dialog' - its your choice, also please note - if using the SDK - there is a specific forum - will move this topic ..
See the manual provided :
Topic :
ShowSaveDialog
Boolean value
If this property is True, pdfSaver will display the Save As dialog where the path and file name of the PDF file must be specified.
Canceling the Save As dialog will cancel the PDF file creation.
Default value: True
See the manual provided :
Topic :
ShowSaveDialog
Boolean value
If this property is True, pdfSaver will display the Save As dialog where the path and file name of the PDF file must be specified.
Canceling the Save As dialog will cancel the PDF file creation.
Default value: True
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com