This prolific sample source code in VBScript for ByteScout PDF Suite contains various functions and other necessary options you should do calling the API to convert pdf to emf with pdf renderer sdk. This VBScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Use of ByteScout PDF Suite in VBScript is also described in the documentation included along with the product.
You can download free trial version of ByteScout PDF Suite from our website to see and try many others source code samples for VBScript.
' 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