IIXC_Page::CopyToClipboard Method
From PDF XChange PDF SDK
Line 13: | Line 13: | ||
== Parameters == | == Parameters == | ||
;nType | ;nType | ||
− | :[in] Specifies the data type which should be copied onto clipboard. May be a combination of | + | :[in] Specifies the data type which should be copied onto clipboard. May be a combination of these [[PXV:IXC_CopyClipboard|CopyClipboard values]]. |
;pRect | ;pRect | ||
:[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. |
Revision as of 11:27, 17 May 2015
The method copies the specified page or its rectangular area onto the clipboard.
Contents
Syntax
HRESULT CopyToClipboard([in] UINT nType, [in] RECT* pRect, [in, defaultvalue(0)] HANDLE_T hOwner);
Parameters
- nType
- [in] Specifies the data type which should be copied onto clipboard. May be a combination of these CopyClipboard values.
- pRect
- [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
- [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.