'OutputByteStream Example
Set TK = CreateObject("APToolkit.Object")
r = TK.OpenOutputFile("MEMORY")
TK.SetFont "Helvetica", 20, 0
TK.PrintText 30, 740, "Hello World", 0
TK.CloseOutputFile
'Set the memory PDF to a string to insert in a DB
'or stream to the clients browser
strPDF = TK.OutputByteStream
Set TK = Nothing