IUniqueStrings::InsertFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUniqueStrings::InsertFrom Method}}
 
{{#customTitle:IUniqueStrings::InsertFrom Method}}
 +
{{#parentPage:PXV:IUniqueStrings#Methods|InsertFrom|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Inserts items from the given unique strings list.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in] IUniqueStrings* pSrc, [in, optional] ULONG nStartSrcIndex, [in, optional] ULONG nSrcItemsCount);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in]                   IUniqueStrings* pSrc,
 +
                  [in, defaultvalue(0)]   ULONG           nStartSrcIndex,
 +
                  [in, defaultvalue(-1)] ULONG           nSrcItemsCount);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pSrc''
+
;pSrc
:[in]  Pointer to [[PXV:IUniqueStrings|IUniqueStrings]].
+
:[in]  Pointer to [[PXV:IUniqueStrings|IUniqueStrings]] containing the source unique strings list.
;''nStartSrcIndex''
+
;nStartSrcIndex
:[in, optionalValue of ULONG.
+
:[in, defaultvalue(0)Start index in the source array of the items to copy.
;''nSrcItemsCount''
+
;nSrcItemsCount
:[in, optionalValue of ULONG.
+
:[in, defaultvalue(-1)Number of the items to copy from the source array starting from the start index.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUniqueStrings|IUniqueStrings]].
+
[[PXV:IUniqueStrings|IUniqueStrings]]

Latest revision as of 16:02, 16 June 2015


Inserts items from the given unique strings list.

Syntax

HRESULT InsertFrom([in]                    IUniqueStrings*  pSrc,
                   [in, defaultvalue(0)]   ULONG            nStartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG            nSrcItemsCount);

Parameters

pSrc
[in] Pointer to IUniqueStrings containing the source unique strings list.
nStartSrcIndex
[in, defaultvalue(0)] Start index in the source array of the items to copy.
nSrcItemsCount
[in, defaultvalue(-1)] Number of the items to copy from the source array starting from the start index.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUniqueStrings