AddGenPicture Method
Draws a general field on the current page into a given bounding rectangle.
Object.AddGenPicture(tcField, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask ]]]]])
Object.AddGenPicture(tcField, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask [, lcSMaskImage [, tcTooltip, [tnRotationXOffset [, tnRotationYOffset [, lcMaskImage ]]]]]]]]]])
Object.AddGenPicture(tcField, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask [, lcSMaskImage ]]]]]])
Object.AddGenPicture(tcField, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask [, lcSMaskImage [, tcTooltip, ]]]]]]])
Object.AddGenPicture(tcField, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask [, lcSMaskImage [, tcTooltip, [tnRotationXOffset [, tnRotationYOffset ]]]]]]]]])
Object.AddGenPicture(tcField, tnLeft, tnTop, tnWidth, tnHeight, tnAdjType, tnRotate, tnRotationPoint [, lcLinkName [, lcLinkHref [, lcmyk_obsolete [, lneg [, tcMask [, lcSMaskImage [, tcTooltip, [tnRotationXOffset [, tnRotationYOffset [, lcMaskImage ]]]]]]]]]])
Parameters
tcField
The general field 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
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.
lNeg
If vaue is .T., then image source is in negative colors.
tcmask
Mask color
lcSMaskImage
External soft mask 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.
lcMaskImage
External mask image.
Remarks
XFRX version: 16.1
Applies To: PDFL#INIT