Link Search Menu Expand Document

Convert PDF To EMF - VBScript and VB6

PDF Renderer SDK sample in VBScript and VB6 demonstrating ‘Convert PDF To EMF’

PDFToEmf.vbs
' Create Bytescout.PDFRenderer.VectorRenderer  object
Set renderer = CreateObject("Bytescout.PDFRenderer.VectorRenderer")

renderer.RegistrationName = "demo"
renderer.RegistrationKey = "demo"

' Load sample PDF document
renderer.LoadDocumentFromFile "multipage.pdf"

' iterate through pages
For i = 0 To renderer.GetPageCount() - 1

	' Render document page to EMF image file
    renderer.Save "image" & i & ".emf", i, 300

Next



Download Source Code (.zip)

Return to the previous page Explore PDF Renderer SDK