Draws a picture on the current page into a given bounding rectangle.
Object.DrawPicture(tcPic, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask [, lcSMaskImage [, lcMaskImage [, liPagePicture [, tcTooltip, [tnRotationXOffset [, tnRotationYOffset]]]]]]]]]])
Parameters
tcPic
The picture file name
tnLeft, tnTop
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
tnAdjType
0 … clip picture
1 … stretch picture, retain shape
2 … stretch picture, fill frame
tnRotate
The picture rotation angle in degrees. The picture will be rotated counterclockwise. Optional, default value = 0 (since XFRX 15.7).
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 (since XFRX 15.7).
tcLinkName
If this parameter is filled, the text will be a named target of a hyperlink. (see tcLinkRef parameter) (since XFRX 15.7).
tcLinkRef
If this parameter is filled, the text will be a hyperlink. It will navigate to a target with tcLinkRef name (since XFRX 15.7).
tlcmyk_obsolete
Obsolete parameter.
lNeg
If vaue is .T., then image source is in negative colors.
tcmask
Mask color
lcSMaskImage
External soft mask image (since XFRX 19.0).
lcMaskImage
External mask image (since XFRX 21.0).
liPagePicture
Page picture - for TIFF image (since XFRX 21.0).
tcTooltip
The tooltip displayed when hovering mouse over this image. (since XFRX 21.0)
tnRotationXOffset
Rotation X Offset in foxels from the left top corner. (since XFRX 21.1)
tnRotationYOffset
Rotation Y Offset in foxels from the left top corner. (since XFRX 21.1)
Remarks
Applies To: PDFL#INIT