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)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_PropHost::OnDrawPropValue Method}}
 
{{#customTitle:IUIX_PropHost::OnDrawPropValue Method}}
{{#parentPage:PXV:IUIX_PropHost|OnDrawPropValue Method|method}}
+
{{#parentPage:PXV:IUIX_PropHost#Methods|OnDrawPropValue|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
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*             vValue,
                         [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
+
;vValue
:[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
Line 46: Line 46:
  
 
== See Also ==
 
== See Also ==
[[PXV:IUIX_PropHost|IUIX_PropHost]].
+
[[PXV:IUIX_PropHost|IUIX_PropHost]]

Latest revision as of 00:53, 20 May 2018


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OnDrawPropValue([in]  IUIX_RenderContext*  pRC,
                        [in]  LONG                 nPropID,
                        [in]  VARIANT*             vValue,
                        [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.
vValue
[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