IUIX_PropHost::OnDrawPropValue Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 11: Line 11:
 
<pre class="brush:cpp;gutter:false">HRESULT OnDrawPropValue([in]  IUIX_RenderContext*  pRC,
 
<pre class="brush:cpp;gutter:false">HRESULT OnDrawPropValue([in]  IUIX_RenderContext*  pRC,
 
                         [in]  LONG                nPropID,
 
                         [in]  LONG                nPropID,
                         [in]  VARIANT*            pValue,
+
                         [in]  VARIANT*            Value,
                         [in]  LPWSTR              pDispValue,
+
                         [in]  LPWSTR              sDispValue,
 
                         [in]  LONG                nDispValueLen,
 
                         [in]  LONG                nDispValueLen,
 
                         [in]  IUIX_Font*          pFont,
 
                         [in]  IUIX_Font*          pFont,
 
                         [in]  LONG                nTextColor,
 
                         [in]  LONG                nTextColor,
                         [in]  RECT*                pItemRect,
+
                         [in]  RECT*                stItemRect,
                         [in]  RECT*                pClipRect,
+
                         [in]  RECT*                stClipRect,
 
                         [in]  LONG                nPropStyle);</pre>
 
                         [in]  LONG                nPropStyle);</pre>
  
Line 25: Line 25:
 
;nPropID
 
;nPropID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pValue
+
;Value
 
:[in]  Pointer to VARIANT.
 
:[in]  Pointer to VARIANT.
;pDispValue
+
;sDispValue
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
 
;nDispValueLen
 
;nDispValueLen
Line 35: Line 35:
 
;nTextColor
 
;nTextColor
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pItemRect
+
;stItemRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;pClipRect
+
;stClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;nPropStyle
 
;nPropStyle

Revision as of 04:35, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OnDrawPropValue([in]  IUIX_RenderContext*  pRC,
                        [in]  LONG                 nPropID,
                        [in]  VARIANT*             Value,
                        [in]  LPWSTR               sDispValue,
                        [in]  LONG                 nDispValueLen,
                        [in]  IUIX_Font*           pFont,
                        [in]  LONG                 nTextColor,
                        [in]  RECT*                stItemRect,
                        [in]  RECT*                stClipRect,
                        [in]  LONG                 nPropStyle);

Parameters

pRC
[in] Pointer to IUIX_RenderContext.
nPropID
[in] Value of LONG.
Value
[in] Pointer to VARIANT.
sDispValue
[in] Value of LPWSTR.
nDispValueLen
[in] Value of LONG.
pFont
[in] Pointer to IUIX_Font.
nTextColor
[in] Value of LONG.
stItemRect
[in] Pointer to RECT.
stClipRect
[in] Pointer to RECT.
nPropStyle
[in] Value of LONG.

Return Value

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

See Also

IUIX_PropHost