The following example shows the effect that this parameter has
on PDF rendering.
Set theDoc = Server.CreateObject("ABCpdf12.Doc")
Set image = Server.CreateObject("ABCpdf12.Image")
image.SetFile "c:\mypics\Shuttle.jpg"
theDoc.Rect.String = image.Selection.String
theDoc.AddImage(image)
' Save rendered image as black and white picture using Line spot
function
theDoc.Rendering.UseEmbeddedHalftone = False
theDoc.Rendering.DotsPerInch = 50
theDoc.Rendering.ColorSpace = "Gray"
theDoc.Rendering.BitsPerChannel = 1
theDoc.Rendering.DefaultHalftone = "Spot,30,100,Line"
theDoc.Rendering.Save "c:\mypdfs\RenderingHalftoneLine.png"
' Save rendered image as black and white picture using Diamond spot
function
theDoc.Rendering.DefaultHalftone = "Spot,0,100,Diamond"
theDoc.Rendering.Save "c:\mypdfs\RenderingHalftoneDiamond.png"
theDoc.Clear()

RenderingHalftoneLine.png

RenderingHalftoneDiamond.png
|