IIXC_Page::AlphaPlace Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::AlphaPlace Method}}
 
{{#customTitle:IIXC_Page::AlphaPlace Method}}
{{#parentPage:PXV:IIXC_Page|AlphaPlace Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|AlphaPlace|method}}
  
{{ToReview}}
+
The '''AlphaPlace''' method 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]].
 
+
'''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 ==
<pre class="brush:cpp;gutter:false">HRESULT AlphaPlace([in]  IIXC_Page*  srcFrom,
+
<pre class="brush:cpp;gutter:false">HRESULT AlphaPlace([in]  IIXC_Page*  pSrcFrom,
 
                   [in]  LONG        nSX,
 
                   [in]  LONG        nSX,
 
                   [in]  LONG        nSY,
 
                   [in]  LONG        nSY,
 
                   [in]  UCHAR      nAlpha,
 
                   [in]  UCHAR      nAlpha,
 
                   [in]  ULONG      nFlags,
 
                   [in]  ULONG      nFlags,
                   [in]  RECT*      pRect);</pre>
+
                   [in]  RECT*      stRect);</pre>
  
 
== Parameters ==
 
== Parameters ==
;srcFrom
+
;pSrcFrom
 
:[in]  Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the source page from which the area is to be copied.
 
:[in]  Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the source page from which the area is to be copied.
 
;nSX
 
;nSX
Line 23: Line 22:
 
:[in]  Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle.
 
:[in]  Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle.
 
;nAlpha
 
;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.
+
:[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. If the alpha parameter is 255, this function is equal to function [[PXV:IIXC_Page_Place|IIXC_Page::Place]].
 
;nFlags
 
;nFlags
 
:[in]  Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
 
:[in]  Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
;pRect
+
;stRect
 
:[in]  Pointer to the RECT structure which defines the destination rectangle.
 
:[in]  Pointer to the RECT structure which defines the destination rectangle.
  
Line 33: Line 32:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_Place|IIXC_Page::Place]]
+
:[[PXV:IIXC_Page_AlphaTile|IIXC_Page::AlphaTile]]
+
:[[PXV:IIXC_Page_Tile|IIXC_Page::Tile]]
+
:[[PXV:IXC_ColorFlags|IXC_ColorFlags]]
+

Latest revision as of 03:16, 15 June 2015

The AlphaPlace method 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*  pSrcFrom,
                   [in]  LONG        nSX,
                   [in]  LONG        nSY,
                   [in]  UCHAR       nAlpha,
                   [in]  ULONG       nFlags,
                   [in]  RECT*       stRect);

Parameters

pSrcFrom
[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. If the alpha parameter is 255, this function is equal to function IIXC_Page::Place.
nFlags
[in] Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum IXC_ColorFlags.
stRect
[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

IIXC_Page