IUIX_DrawThumbnailCallback::DrawThumb Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IUIX_DrawThumbnailCallback::DrawThumb Method}}
 
{{#customTitle:IUIX_DrawThumbnailCallback::DrawThumb Method}}
 
{{#parentPage:PXV:IUIX_DrawThumbnailCallback#Methods|DrawThumb|method}}
 
{{#parentPage:PXV:IUIX_DrawThumbnailCallback#Methods|DrawThumb|method}}
{{ToReview}}
+
 
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
Line 12: Line 12:
 
<pre class="brush:cpp;gutter:false">HRESULT DrawThumb([in]      IUIX_RenderContext*  pRC,
 
<pre class="brush:cpp;gutter:false">HRESULT DrawThumb([in]      IUIX_RenderContext*  pRC,
 
                   [in]      LONG                nThumbIdx,
 
                   [in]      LONG                nThumbIdx,
                   [in, out]  RECT*                pCellRect);</pre>
+
                   [in, out]  RECT*                stCellRect);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 19: Line 19:
 
;nThumbIdx
 
;nThumbIdx
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pCellRect
+
;stCellRect
 
:[in, out]  Pointer to RECT.
 
:[in, out]  Pointer to RECT.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IUIX_DrawThumbnailCallback|IUIX_DrawThumbnailCallback]]
 
[[PXV:IUIX_DrawThumbnailCallback|IUIX_DrawThumbnailCallback]]

Latest revision as of 15:15, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Draws the preview thumb at the specified index.

Syntax

HRESULT DrawThumb([in]       IUIX_RenderContext*  pRC,
                  [in]       LONG                 nThumbIdx,
                  [in, out]  RECT*                stCellRect);

Parameters

pRC
[in] Pointer to IUIX_RenderContext.
nThumbIdx
[in] Value of LONG.
stCellRect
[in, out] Pointer to RECT.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_DrawThumbnailCallback