IIXC_Page::AlphaPlace Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IIXC_Page::AlphaPlace Method}}
 
{{#customTitle:IIXC_Page::AlphaPlace Method}}
 
{{#parentPage:PXV:IIXC_Page|AlphaPlace Method|method}}
 
{{#parentPage:PXV:IIXC_Page|AlphaPlace Method|method}}
{{ToWrite}}
+
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
'''AlphaPlace''' copies a specified rectangular area from one page into another using a specified level of transparency. If the alpha parameter is 255, this function is equal to function [[PXV:IIXC_Page_Place|IIXC_Page::Place]].
  
 
== Syntax ==
 
== Syntax ==
Line 17: Line 17:
 
== Parameters ==
 
== Parameters ==
 
;srcFrom
 
;srcFrom
:[in]  Pointer to [[PXV:IIXC_Page|IIXC_Page]].
+
:[in]  Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the source page from which the area is to be copied.
 
;nSX
 
;nSX
:[in]  Value of LONG.
+
:[in]  Specifies the x-coordinate, in pixels, of the upper-left corner of the source rectangle.  
 
;nSY
 
;nSY
:[in]  Value of LONG.
+
:[in]  Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle.
 
;nAlpha
 
;nAlpha
:[in]  Value of UCHAR.
+
:[in]  Specifies the transparency level. Range of values is from 0 to 255. Value 0 means that srcPage is fully transparent, value 255 means that srcPage is fully opaque.
 
;nFlags
 
;nFlags
:[in]  Value of ULONG.
+
:[in]  Combination of flags which specifies how the data will be copied. For more details about this parameter, see function [[PXV:IIXC_Page_Place#Parameters|IIXC_Page::Place]].
 
;pRect
 
;pRect
:[in]  Pointer to RECT.
+
:[in]  Pointer to the RECT structure which defines the destination rectangle.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 07:29, 28 April 2015


AlphaPlace copies a specified rectangular area from one page into another using a specified level of transparency. If the alpha parameter is 255, this function is equal to function IIXC_Page::Place.

Syntax

HRESULT AlphaPlace([in]  IIXC_Page*  srcFrom,
                   [in]  LONG        nSX,
                   [in]  LONG        nSY,
                   [in]  UCHAR       nAlpha,
                   [in]  ULONG       nFlags,
                   [in]  RECT*       pRect);

Parameters

srcFrom
[in] Pointer to IIXC_Page of the source page from which the area is to be copied.
nSX
[in] Specifies the x-coordinate, in pixels, of the upper-left corner of the source rectangle.
nSY
[in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle.
nAlpha
[in] Specifies the transparency level. Range of values is from 0 to 255. Value 0 means that srcPage is fully transparent, value 255 means that srcPage is fully opaque.
nFlags
[in] Combination of flags which specifies how the data will be copied. For more details about this parameter, see function IIXC_Page::Place.
pRect
[in] Pointer to the RECT structure which defines the destination rectangle.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IIXC_Page.