This example shows how to render a PDF document.
We create an ABCpdf Doc object and read our source PDF.
Set theDoc = Server.CreateObject("ABCpdf13.Doc") theDoc.Read "c:\mypdfs\spaceshuttle.pdf"
We specify our base rendering settings.
theDoc.Rendering.DotsPerInch = 36
Finally, we save the first four pages of the document in png format.
For i = 1 To 4 theDoc.PageNumber = i theDoc.Rect = theDoc.CropBox theDoc.Rendering.Save "c:\mypdfs\shuttle_p" & i & ".png" Next
shuttle_p1.gif
shuttle_p2.png
shuttle_p3.png
shuttle_p4.png