IPXC_PageText::GetTextQuads Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_PageText::GetTextQuads Method}}
 
{{#customTitle:IPXC_PageText::GetTextQuads Method}}
 +
{{#parentPage:PXV:IPXC_PageText#Methods|GetTextQuads|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets quads from the page text by given character ranges.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetTextQuads([in] ULONG* pCharRanges, [in] ULONG nCharRangesLen, [out] IPXC_QuadsF* pQuads, [out] PXC_RectF* pBBox);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetTextQuads([in]   ULONG*       nCharRanges,
 +
                    [in]   ULONG         nCharRangesLen,
 +
                    [out] IPXC_QuadsF* pQuads,
 +
                    [out] PXC_RectF*   stBBox);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pCharRanges''
+
;nCharRanges
:[in]  Pointer to ULONG.
+
:[in]  Pointer to ULONG containing the pointer to the first element of the character ranges array.
;''nCharRangesLen''
+
;nCharRangesLen
:[in]  Value of ULONG.
+
:[in]  Value of ULONG containing the length of the character ranges array.
;''pQuads''
+
;pQuads
:[out]  Pointer to [[PXV:IPXC_QuadsF|IPXC_QuadsF]].
+
:[out]  Pointer to [[PXV:IPXC_QuadsF|IPXC_QuadsF]] containing the resulting quads.
;''pBBox''
+
;stBBox
:[out]  Pointer to [[PXV:PXC_RectF|PXC_RectF]].
+
:[out]  Pointer to [[PXV:PXC_RectF|PXC_RectF]] containing the bound box.
  
 
== Return Value ==
 
== Return Value ==
Line 21: Line 27:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_PageText|IPXC_PageText]].
+
[[PXV:IPXC_PageText|IPXC_PageText]]

Latest revision as of 23:50, 12 May 2016


Gets quads from the page text by given character ranges.

Syntax

HRESULT GetTextQuads([in]   ULONG*        nCharRanges,
                     [in]   ULONG         nCharRangesLen,
                     [out]  IPXC_QuadsF*  pQuads,
                     [out]  PXC_RectF*    stBBox);

Parameters

nCharRanges
[in] Pointer to ULONG containing the pointer to the first element of the character ranges array.
nCharRangesLen
[in] Value of ULONG containing the length of the character ranges array.
pQuads
[out] Pointer to IPXC_QuadsF containing the resulting quads.
stBBox
[out] Pointer to PXC_RectF containing the bound box.

Return Value

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

See Also

IPXC_PageText