DrawPicture Method

Draws a picture on the current page into a given bounding rectangle. 


Object.DrawPicture(tnXPos, tnYPos, tnWidth, tnHeight, 
                   tcFilename [, tnAdjType]
                  )
XFRX 15.7
Object.DrawPicture(tnXPos, tnYPos, tnWidth, tnHeight, 
                   tcFilename [, tnAdjType
                   [, llCentralHorizontaly [, tnRotate
                   [, tnRotationPoint [, tcLinkName [, tcLinkRef ]]]]]]
                  )
XFRX 15.8
Object.DrawPicture(tnXPos, tnYPos, tnWidth, tnHeight, 
                   tcFilename [, tnAdjType
                   [, llCentralHorizontaly [, tnRotate
                   [, tnRotationPoint [, tcLinkName [, tcLinkRef
                   [, tlcmyk_obsolete [, tlneg [, tcmask ]]]]]]]]]
                  )
XFRX 19.0
Object.DrawPicture(tnXPos, tnYPos, tnWidth, tnHeight, 
                   tcFilename [, tnAdjType
                   [, llCentralHorizontaly [, tnRotate
                   [, tnRotationPoint [, tcLinkName [, tcLinkRef
                   [, tlcmyk_obsolete [, tlneg [, tcmask
                   [, lcSMaskImage [, liPictureDPI  ]]]]]]]]]]]
                  )
XFRX 21.0
Object.DrawPicture(tnXPos, tnYPos, tnWidth, tnHeight, 
                   tcFilename [, tnAdjType
                   [, llCentralHorizontaly [, tnRotate
                   [, tnRotationPoint [, tcLinkName [, tcLinkRef
                   [, tlcmyk_obsolete [, tlneg [, tcmask
                   [, lcSMaskImage [, liPictureDPI [, lcMaskImage [, liPagePicture
                   [, tcTooltip ]]]]]]]]]]]]]]
                  )
XFRX 21.1
Object.DrawPicture(tnXPos, tnYPos, tnWidth, tnHeight, 
                   tcFilename [, tnAdjType
                   [, llCentralHorizontaly [, tnRotate
                   [, tnRotationPoint [, tcLinkName [, tcLinkRef
                   [, tlcmyk_obsolete [, tlneg [, tcmask
                   [, lcSMaskImage [, liPictureDPI [, lcMaskImage [, liPagePicture
                   [, tcTooltip [,tnRotationXOffset [,tnRotationYOffset ]]]]]]]]]]]]]]]]
                  )

Parameters

tnXPos, tnYPos
  The X,Y coordinates of the upper left hand corner of the bounding rectangle.

tnWidth
  The width of the rectangle 

tnHeight
  The height of the rectangle

tcFileName
  The picture file name

tnAdjType
   0  … clip picture
   1   … stretch picture, retain shape
   2   … stretch picture, fill frame

llCentralHorizontaly
 Center horizontaly in frame.

tnRotate  
 The picture rotation angle in degrees. The picture will be rotated counterclockwise. Optional, default value = 0.

tnRotationPoint

   The point within the rectangle around which the text is rotated. The allowed values are 0..8, optional, default value = 0 (left, top). Please see the picture on the right for the point positions.

tcLinkName
  If this parameter is filled, the text will be a named target of a hyperlink. (see tcLinkRef parameter).

tcLinkRef
  If this parameter is filled, the text will be a hyperlink. It will navigate to a target with tcLinkRef name.

tlcmyk_obsolete
   Obsolete parameter.

tlNeg
   If vaue is .T., then image source is in negative colors.

tcmask
   Mask color

lcSMaskImage
 External soft mask image.

liPictureDPI 
  Picture DPI for output.

lcMaskImage
 External mask image. 

liPagePicture
 Page picture - for TIFF image.  

tcTooltip
   The tooltip displayed when hovering mouse over this image.

tnRotationXOffset
 Rotation X Offset in foxels from the left top corner.

tnRotationYOffset
 Rotation Y Offset in foxels from the left top corner.

Remarks

XFRX version: 17.3 (for XFRX#XML)

Applies To: XFRX#DRAW, XFRX#XML