IUIX_CmdPane::SetParentClientArea Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdPane::SetParentClientArea Method}}
 
{{#customTitle:IUIX_CmdPane::SetParentClientArea Method}}
{{#parentPage:PXV:IUIX_CmdPane|method}}
+
{{#parentPage:PXV:IUIX_CmdPane#Methods|SetParentClientArea|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Changes command pane's client area based on the pane's location.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetParentClientArea([in, out] RECT* pNewClientArea, [in, defaultvalue(0)] VARIANT_BOOL bCalcOnly);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetParentClientArea([in, out]             RECT*         stNewClientArea,
 +
                            [in, defaultvalue(0)] VARIANT_BOOL bCalcOnly);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pNewClientArea''
+
;stNewClientArea
:[in, out]  Pointer to RECT.
+
:[in, out]  Pointer to RECT containing the new pane's client area.
;''bCalcOnly''
+
;bCalcOnly
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL that indicates whether the area should only be calculated, not changed.
  
 
== Return Value ==
 
== Return Value ==
Line 20: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdPane|IUIX_CmdPane]].
+
[[PXV:IUIX_CmdPane|IUIX_CmdPane]]

Latest revision as of 02:19, 25 March 2016


Changes command pane's client area based on the pane's location.

Syntax

HRESULT SetParentClientArea([in, out]              RECT*         stNewClientArea,
                            [in, defaultvalue(0)]  VARIANT_BOOL  bCalcOnly);

Parameters

stNewClientArea
[in, out] Pointer to RECT containing the new pane's client area.
bCalcOnly
[in, defaultvalue(0)] Value of VARIANT_BOOL that indicates whether the area should only be calculated, not changed.

Return Value

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

See Also

IUIX_CmdPane