The following example shows the effect that this parameter has
on PDF rendering.
Set theDoc = Server.CreateObject("ABCpdf12.Doc")
theDoc.Rect.Inset 50, 50
' Add some text
theDoc.FontSize = 48
theDoc.Pos.String = "50 690"
id = theDoc.AddText("Abc")
' Render images
theDoc.Rect.String = theDoc.GetInfo(id, "rect")
theDoc.Rendering.AntiAliasText = True
antialiasedBitmap = theDoc.Rendering.GetData(".tif")
theDoc.Rendering.AntiAliasText = False
aliasedBitmap = theDoc.Rendering.GetData(".tif")
' Add enlarged images to the pdf file
theDoc.Rect.Magnify 5, 5
theDoc.Rect.Move 0, -300
theDoc.AddImageData aliasedBitmap, 1
theDoc.Rect.Move 0, -300
theDoc.AddImageData antialiasedBitmap, 1
' Annotate
theDoc.Rect.String = theDoc.MediaBox.String
theDoc.Color.String = "255 0 0"
theDoc.FontSize = 36
theDoc.Pos.String = "50 740"
theDoc.AddText "Original text:"
theDoc.Pos.String = "50 620"
theDoc.AddText "Magnified aliased image:"
theDoc.Pos.String = "50 320"
theDoc.AddText "Magnified antialiased image:"
' Save render of pdf files
theDoc.Rendering.AntiAliasText = True
theDoc.Rendering.DotsPerInch = 36
theDoc.Rendering.Save "c:\mypdfs\RenderingAntiAliasText.png"
theDoc.Clear

RenderingAntiAliasText.png
|
|
|