IUIX_DrawThumbnailCallback::DrawThumb Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(9 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#Methods|DrawThumb|method}}
 +
  
 
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] RECT* pCellRect, [in] RECT* pTextRect, [in] LONG nThumbIndex, [in] VARIANT_BOOL bIsActiveItem);</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]].
;''pCellRect''
+
;nThumbIdx
:[in]  Pointer to RECT.
+
;''pTextRect''
+
:[in]  Pointer to RECT.
+
;''nThumbIndex''
+
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''bIsActiveItem''
+
;stCellRect
:[in]  Value of VARIANT_BOOL.
+
:[in, outPointer 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