IPXC_Article::InsertBead Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
<pre class="brush:cpp;gutter:false">HRESULT InsertBead([in] ULONG nPos, | <pre class="brush:cpp;gutter:false">HRESULT InsertBead([in] ULONG nPos, | ||
[in] ULONG nPageInx, | [in] ULONG nPageInx, | ||
− | [in] PXC_Rect* | + | [in] PXC_Rect* stRect);</pre> |
== Parameters == | == Parameters == | ||
Line 16: | Line 16: | ||
;nPageInx | ;nPageInx | ||
:[in] Index of the page where the bead would be inserted. | :[in] Index of the page where the bead would be inserted. | ||
− | ; | + | ;stRect |
:[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]] containing the bound rectangle of the bead. | :[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]] containing the bound rectangle of the bead. | ||
Revision as of 01:11, 4 June 2015
Inserts new bead into the article at the given page into the given position in the article's beads array. Note that the first bead will be inserted as an F value of the article's PDF object.
Syntax
HRESULT InsertBead([in] ULONG nPos, [in] ULONG nPageInx, [in] PXC_Rect* stRect);
Parameters
- nPos
- [in] Position of the newly inserted bead in the article's beads array.
- nPageInx
- [in] Index of the page where the bead would be inserted.
- stRect
- [in] Pointer to PXC_Rect containing the bound rectangle of the bead.
Return Value
Returns S_OK if operation was successful or error code in other cases.