IUIX_DrawThumbnailCallback::DrawThumb Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_DrawThumbnailCallback::DrawThumb Method}}
 
{{#customTitle:IUIX_DrawThumbnailCallback::DrawThumb Method}}
{{#parentPage:PXV:IUIX_DrawThumbnailCallback|method}}
+
{{#parentPage:PXV:IUIX_DrawThumbnailCallback#Methods|DrawThumb|method}}
{{ToWrite}}
+
 
{{ToReview}}
+
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
 +
 +
Draws the preview thumb at the specified index.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawThumb([in] IUIX_RenderContext* pRC, [in] LONG nThumbIdx, [in, out] RECT* pCellRect);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT DrawThumb([in]       IUIX_RenderContext* pRC,
 +
                  [in]       LONG                 nThumbIdx,
 +
                  [in, out] RECT*               stCellRect);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pRC''
+
;pRC
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
;''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 ==
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