IUIX_PropHost::OnDrawPropTitle 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 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_PropHost::OnDrawPropTitle Method}}
 
{{#customTitle:IUIX_PropHost::OnDrawPropTitle Method}}
{{#parentPage:PXV:IUIX_PropHost|method}}
+
{{#parentPage:PXV:IUIX_PropHost#Methods|OnDrawPropTitle|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OnDrawPropTitle([in] IUIX_RenderContext* pRC, [in] LONG nPropID, [in] LPWSTR pTitle, [in] LONG nTitleLen, [in] IUIX_Font* pFont, [in] LONG nTextColor, [in] RECT* pItemRect, [in] RECT* pClipRect, [in] LONG nPropStyle);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT OnDrawPropTitle([in] IUIX_RenderContext* pRC,
 +
                        [in] LONG                 nPropID,
 +
                        [in] LPWSTR               sTitle,
 +
                        [in] LONG                 nTitleLen,
 +
                        [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.
;''pTitle''
+
;sTitle
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;''nTitleLen''
+
;nTitleLen
 
:[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 34: Line 43:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_PropHost|IUIX_PropHost]].
+
[[PXV:IUIX_PropHost|IUIX_PropHost]]

Latest revision as of 03:35, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OnDrawPropTitle([in]  IUIX_RenderContext*  pRC,
                        [in]  LONG                 nPropID,
                        [in]  LPWSTR               sTitle,
                        [in]  LONG                 nTitleLen,
                        [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.
sTitle
[in] Value of LPWSTR.
nTitleLen
[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