OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-03-2006, 14:58
rsriram22
Guest
 
Posts: n/a
Question Import PDF with multiple pages.

Hi,

When I am trying to import a pdf(>1 pages), all the pages are getting overlapped into the first page in corel document - How do I import different pages of pdf into different pages of corel?

Following is the code that i used:
.....
.......
objDoc = objCorel.CreateDocument
'Dim objSIO As New CorelDRAW.StructImportOptions
'objSIO.
objDoc.ActiveLayer.Import("C:\test.pdf") ' This has 3 pages in it
Dim objPages As CorelDRAW.Pages = objDoc.Pages
Dim Count As Integer = objPages.Count
MsgBox(count) ' Shows 1

In fact, when I save the coreldocument as emf, it is garbled because the pages are being overwritten...

Thanks
Reply With Quote
  #2  
Old 20-03-2006, 11:54
rsriram22
Guest
 
Posts: n/a
Default

I was able to overcome this problem as follows:

Tools -> Options -> Text -> Fonts -> Panose Font Matching(button) -> Never use font matching (radio button)

This way, the font matching dialog never popped up during the COM call made from my component..
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing multiple files to separate pages knowbodynow CorelDRAW/Corel DESIGNER VBA 3 16-03-2006 10:14
Import SVG File to Separate Pages on Document Load Jadus CorelDRAW/Corel DESIGNER VBA 5 30-06-2005 13:56
Select Single Pages... ddonnahoe CorelDRAW/Corel DESIGNER VBA 3 14-06-2005 13:41
How to kill (do not show) Import Postscript filter, rrrrrr modzho CorelDRAW/Corel DESIGNER VBA 1 18-09-2003 11:56
Printing multiple copies sfldan CorelDRAW CS 0 21-08-2003 15:37


All times are GMT -5. The time now is 00:15.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com