|
The following example adds two blocks of styled text to a document.
The first block is in Helvetica and the second in Courier.
Set theDoc = Server.CreateObject("ABCpdf6.Doc")
theDoc.FontSize = 96 ' big text
theDoc.Font = theDoc.AddFont("Helvetica")
theDoc.AddText "Helvetica Text."
theDoc.Font = theDoc.AddFont("Courier")
theDoc.AddText "Courier Text."
theDoc.Save "c:\mypdfs\docfont.pdf"

docfont.pdf
|