Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / PDFPAGE_PlayMetaFileExFromFileName Problem
Author Message
jon144
# Posted: 6 Jun 2008 13:11


I am upgrading from v2 to v3 of the PDFCreatorPilotLib and have run into an issue with the PlayMetafile functions.

Basically I can not see the metafile that we played to my .pdf. I am using the same process to create the metafile as before, just upgrading to the new version of your .dll.

I have tried the code that support provided from a different post and still get the same issue. I am using version 3.9.953.0. This process has worked great for me in the past trying ot understand if I am doing something wrong or if there is a bug in the control.

I am going to try to post a simple .emf that demonstrated the problem

My sample code....

Dim fiPdf As New FileInfo("c:temp1.pdf")
fiPdf.Delete()
Dim fiEmf As New FileInfo("c:temp1.emf")

Dim pdf As New PDFCreatorPilot3Lib.PDFDocument3
pdf.StartEngine("demo@demo", "demo")
pdf.DocumentInfo_Title = "Enhanced Metafile (PDF Creator Pilot Demo)"
pdf.FileName = fiPdf.FullName
pdf.AutoLaunch = True
pdf.Compression = 1 ' 1 = ctFlate
pdf.Resolution = 72
pdf.BeginDoc()
pdf.PDFPAGE_SetRGBColorFill(0, 0, 1)

pdf.PDFPAGE_PlayMetaFileExFromFileName(fiEmf.FullN ame, 0, 0, 1, 1)
pdf.EndDoc()
pdf = Nothing

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top