IUIX_Dialog::GetItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Dialog::GetItem Method}}
 
{{#customTitle:IUIX_Dialog::GetItem Method}}
{{#parentPage:PXV:IUIX_Dialog|method}}
+
{{#parentPage:PXV:IUIX_Dialog#Methods|GetItem|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets a required dialog item by its text ID.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetItem([in] BSTR pItemID, [in, defaultvalue(-1)] VARIANT_BOOL bTranspSC, [out, retval] IUIX_Obj** ppItem);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetItem([in]                   BSTR         sItemID,
 +
                [in, defaultvalue(-1)] VARIANT_BOOL bTranspSC,
 +
                [out, retval]           IUIX_Obj**   pItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pItemID''
+
;sItemID
:[in]  Value of BSTR.
+
:[in]  text ID of required item.
;''bTranspSC''
+
;bTranspSC
 
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
;''ppItem''
+
;pItem
:[out, retval]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[out, retval]  return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. Use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method to query implementation of a required item type from <code>IUIX_Obj</code>.
  
 
== Return Value ==
 
== Return Value ==
Line 22: Line 25:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Dialog|IUIX_Dialog]].
+
[[PXV:IUIX_Dialog|IUIX_Dialog]]

Latest revision as of 03:18, 15 June 2015


Gets a required dialog item by its text ID.

Syntax

HRESULT GetItem([in]                    BSTR          sItemID,
                [in, defaultvalue(-1)]  VARIANT_BOOL  bTranspSC,
                [out, retval]           IUIX_Obj**    pItem);

Parameters

sItemID
[in] text ID of required item.
bTranspSC
[in, defaultvalue(-1)] Value of VARIANT_BOOL.
pItem
[out, retval] return object of IUIX_Obj interface. Use QueryImpl method to query implementation of a required item type from IUIX_Obj.

Return Value

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

See Also

IUIX_Dialog