PDFDoc Scout |
PDFDoc Scout library - Sample
How to convert EMF (metafiles) to PDF
document using PDFDoc Scout library:
You can download the source code of this example here: pdfdocscout_emf2pdf.zip This example shows how to convert EMF metafile into PDF document with PDFDoc Scout library Generated PDF file consists of EMF converted into PDF using
PDFDoc Scout:
Code to convert EMF file to PDF: ' this example uses PDFDoc Scout to convert vector based EMF metafile image into PDF format Set PDFDoc = CreateObject("PDFDocScout.PDFDocument") PDFDoc.InitLibrary "demo", "demo" PDFDoc.BeginDocument ' read information about EMF file ' set page size to EMF size PDFDoc.Page.PlayMetaFileToHDCEx "SampleMetafile.emf", 0,0, EMF_Resolution / PDFDoc.Resolution, EMF_Resolution / PDFDoc.Resolution PDFDoc.EndDocument Set PDFDoc = nothing You can download the source code of this example here: pdfdocscout_emf2pdf.zip
"Hello, World!" quick start step-by-step tutorials: |
|
|
||