IIXC_Page::CopyToClipboard Method
From PDF XChange PDF SDK
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* | + | [in] RECT* stRect, |
− | [in, defaultvalue(0)] HANDLE_T | + | [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]]. | ||
− | ; | + | ;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. | ||
− | ; | + | ;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 01: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.