IIXC_Page::CopyToClipboard Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT CopyToClipboard([in]                  UINT      nType,
 
<pre class="brush:cpp;gutter:false">HRESULT CopyToClipboard([in]                  UINT      nType,
                         [in]                  RECT*    pRect,
+
                         [in]                  RECT*    stRect,
                         [in, defaultvalue(0)]  HANDLE_T  hOwner);</pre>
+
                         [in, defaultvalue(0)]  HANDLE_T  nOwner);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nType
 
;nType
 
:[in]  Specifies the data type which should be copied onto the clipboard. May be a combination of these  [[PXV:IXC_CopyClipboard|CopyClipboard values]].
 
:[in]  Specifies the data type which should be copied onto the clipboard. May be a combination of these  [[PXV:IXC_CopyClipboard|CopyClipboard values]].
;pRect
+
;stRect
 
:[in]  Pointer to RECT structure which defines the rectangular area of the page which should be processed. If this parameter is NULL, the entire page will be processed.
 
:[in]  Pointer to RECT structure which defines the rectangular area of the page which should be processed. If this parameter is NULL, the entire page will be processed.
;hOwner
+
;nOwner
 
:[in, defaultvalue(0)]  Value of HANDLE_T parent window owner handle.
 
:[in, defaultvalue(0)]  Value of HANDLE_T parent window owner handle.
  

Revision as of 02:08, 4 June 2015

The method copies the specified page or its rectangular area onto the clipboard.

Syntax

HRESULT CopyToClipboard([in]                   UINT      nType,
                        [in]                   RECT*     stRect,
                        [in, defaultvalue(0)]  HANDLE_T  nOwner);

Parameters

nType
[in] Specifies the data type which should be copied onto the clipboard. May be a combination of these CopyClipboard values.
stRect
[in] Pointer to RECT structure which defines the rectangular area of the page which should be processed. If this parameter is NULL, the entire page will be processed.
nOwner
[in, defaultvalue(0)] Value of HANDLE_T parent window owner handle.

Return Value

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

See Also

IIXC_Page