Type   Default Value   Read Only   Description
XRect The dimensions of the current frame. No The current selection rectangle.

 

   
Notes
 
     

You may wish to add only a portion of an image. By changing the selection rectangle you can specify different areas to be added.

 

   
Example
 
     
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

 

 

   

 

Browser Based Help. Published by chm2web software.