| Here we open a TIFF file using the Image object. We add the entire
image to the document and then just a portion of the image using the
Selection property.
Set theDoc = Server.CreateObject("ABCpdf3.Doc")
Set theImg = Server.CreateObject("ABCpdf3.Image")
theImg.SetFile "c:\mypic.tif"
theDoc.Rect = theImg.Selection
theDoc.Rect.Magnify 0.5, 0.5
theDoc.Rect.Position 100, 30
theDoc.AddImage theImg
theImg.Selection.Inset 100, 200
theDoc.Rect = theImg.Selection
theDoc.Rect.Position 170, 400
theDoc.AddImage theImg
theDoc.Save "c:\mypdfs\imageselect.pdf"

imageselect.pdf
|
|
|