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)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::CopyToClipboard Method}}
 
{{#customTitle:IIXC_Page::CopyToClipboard Method}}
{{#parentPage:PXV:IIXC_Page#Methods|CopyToClipboard Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|CopyToClipboard|method}}
  
 
The method copies the specified page or its rectangular area onto the clipboard.
 
The method copies the specified page or its rectangular area onto the clipboard.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CopyToClipboard([in]                  UINT      nType,
+
<pre class="brush:cpp;gutter:false">HRESULT CopyToClipboard([in]                  ULONG    nType,
                         [in]                  RECT*    pRect,
+
                         [in]                  RECT*    stRect,
 
                         [in, defaultvalue(0)]  HANDLE_T  hOwner);</pre>
 
                         [in, defaultvalue(0)]  HANDLE_T  hOwner);</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]  Value of ULONG.
;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.
 
;hOwner
 
;hOwner
:[in, defaultvalue(0)]   Value of HANDLE_T parent window owner handle.
+
:[in, defaultvalue(0)] Value of HANDLE_T.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 03:16, 15 June 2015

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

Syntax

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

Parameters

nType
[in] Value of ULONG.
stRect
[in] Pointer to RECT.
hOwner
[in, defaultvalue(0)] Value of HANDLE_T.

Return Value

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

See Also

IIXC_Page