IIXC_Page::Place Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::Place Method}}
 
{{#customTitle:IIXC_Page::Place Method}}
{{#parentPage:PXV:IIXC_Page|Place Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|Place|method}}
{{ToReview}}
+
  
 
'''Place''' copies a specified rectangular area from one page into another.
 
'''Place''' copies a specified rectangular area from one page into another.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Place([in]  RECT*      pRect,
+
<pre class="brush:cpp;gutter:false">HRESULT Place([in]  RECT*      stRect,
               [in]  IIXC_Page*  srcPage,
+
               [in]  IIXC_Page*  pSrcPage,
 
               [in]  LONG        nSX,
 
               [in]  LONG        nSX,
 
               [in]  LONG        nSY,
 
               [in]  LONG        nSY,
Line 14: Line 14:
  
 
== Parameters ==
 
== Parameters ==
;pRect
+
;stRect
 
:[in]  Pointer to RECT structure which defines the destination rectangle.
 
:[in]  Pointer to RECT structure which defines the destination rectangle.
;srcPage
+
;pSrcPage
 
:[in]  Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the destination page on which the copy will be placed.
 
:[in]  Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the destination page on which the copy will be placed.
 
;nSX
 
;nSX
Line 23: Line 23:
 
:[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.
 
;nFlags
 
;nFlags
:[in]  Combination of flags which specifies how the data will be copied. The following flags can be used enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]]
+
:[in]  Combination of flags which specifies how the data will be copied. The following flags can be used enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
 
+
  
 
== Return Value ==
 
== Return Value ==
Line 30: Line 29:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]], [[PXV:IIXC_Page_AlphaPlace|IIXC_Page::AlphaPlace]], [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
+
[[PXV:IIXC_Page|IIXC_Page]]

Latest revision as of 02:16, 15 June 2015

Place copies a specified rectangular area from one page into another.

Syntax

HRESULT Place([in]  RECT*       stRect,
              [in]  IIXC_Page*  pSrcPage,
              [in]  LONG        nSX,
              [in]  LONG        nSY,
              [in]  ULONG       nFlags);

Parameters

stRect
[in] Pointer to RECT structure which defines the destination rectangle.
pSrcPage
[in] Pointer to IIXC_Page of the destination page on which the copy will be placed.
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.
nFlags
[in] Combination of flags which specifies how the data will be copied. The following flags can be used enum IXC_ColorFlags.

Return Value

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

See Also

IIXC_Page