To export a drw to PDF using J-link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
To export a drw to PDF using J-link
Hello!
Has someone already exported a drw to PDF using J-link?
Thank you!
- Labels:
-
Jlink
- Tags:
- group discussion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
PDFExportInstructions exportInstructions = pfcExport.PDFExportInstructions_Create();
curDrawing.Export("fileName", exportInstructions);
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for the help Tommy Bijnens!
The pdf is opening right after it is generated, do you know if there is any way for it not to open?
In my application, it is not necessary to open the pdf to view.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
We use this for our PDF export.
PDFOption MyPdfOption = pfcExport.PDFOption_Create();
MyPdfOption.SetOptionType(PDFOptionType.PDFOPT_LAUNCH_VIEWER);
MyPdfOption.SetOptionValue(pfcArgument.CreateBoolArgValue(false));
Myoptions.append(MyPdfOption);
Hope it helps.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We use a .DOP file for configuration of the export.
But if you only need to set this one option, Paul's sollution might be more practical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Paul,
Only one question. The "myoptions" attribute is StringBuffer?
At first, this solution did not work as expected.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
PDFOptions Myoptions = PDFOptions.create();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you!
It worked as I expected.