IUIX_PropHost::OnDrawPropValue Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_PropHost::OnDrawPropValue Method}}
 
{{#customTitle:IUIX_PropHost::OnDrawPropValue Method}}
 +
{{#parentPage:PXV:IUIX_PropHost#Methods|OnDrawPropValue|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OnDrawPropValue([in] IUIX_RenderContext* pRC, [in] LONG nPropID, [in] VARIANT** pValue, [in] LPWSTR pDispValue, [in] LONG nDispValueLen, [in] IUIX_Font* pFont, [in] LONG nTextColor, [in] RECT* pItemRect, [in] RECT* pClipRect, [in] LONG nPropStyle);</pre>
+
<pre class="brush:cpp;gutter:false">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);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pRC''
+
;pRC
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
;''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
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pFont''
+
;pFont
 
:[in]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
 
:[in]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
;''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
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
  
Line 33: Line 46:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_PropHost|IUIX_PropHost]].
+
[[PXV:IUIX_PropHost|IUIX_PropHost]]

Latest revision as of 23:53, 19 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