IUIX_Inst::CreatePicture Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreatePicture Method}}
 
{{#customTitle:IUIX_Inst::CreatePicture Method}}
{{#parentPage:PXV:IUIX_Inst|method}}
+
{{#parentPage:PXV:IUIX_Inst|CreatePicture Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreatePicture([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] BSTR pID, [in] IUnknown* pImage, [in, defaultvalue(0)] LONGLONG nStyle, [in, optional] IUnknown* pCustomImpl, [out, retval, defaultvalue(NULL)] IUIX_Picture** ppPict);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreatePicture([in]                               IUIX_Obj*       pParent,
 +
                      [in]                               RECT*           pRect,
 +
                      [in]                               BSTR           pID,
 +
                      [in]                               IUnknown*       pImage,
 +
                      [in, defaultvalue(0)]             LONGLONG       nStyle,
 +
                      [in, defaultvalue(NULL)]           IUnknown*       pCustomImpl,
 +
                      [out, retval, defaultvalue(NULL)] IUIX_Picture** ppPict);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pParent''
+
;pParent
 
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
 
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
;''pRect''
+
;pRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pID''
+
;pID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;''pImage''
+
;pImage
 
:[in]  Pointer to IUnknown*.
 
:[in]  Pointer to IUnknown*.
;''nStyle''
+
;nStyle
 
:[in, defaultvalue(0)]  Value of LONGLONG.
 
:[in, defaultvalue(0)]  Value of LONGLONG.
;''pCustomImpl''
+
;pCustomImpl
 
:[in, optional]  Pointer to IUnknown*.
 
:[in, optional]  Pointer to IUnknown*.
;''ppPict''
+
;ppPict
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Picture|IUIX_Picture]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Picture|IUIX_Picture]].
  

Revision as of 05:44, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreatePicture([in]                               IUIX_Obj*       pParent,
                      [in]                               RECT*           pRect,
                      [in]                               BSTR            pID,
                      [in]                               IUnknown*       pImage,
                      [in, defaultvalue(0)]              LONGLONG        nStyle,
                      [in, defaultvalue(NULL)]           IUnknown*       pCustomImpl,
                      [out, retval, defaultvalue(NULL)]  IUIX_Picture**  ppPict);

Parameters

pParent
[in] Pointer to IUIX_Obj.
pRect
[in] Pointer to RECT.
pID
[in] Value of BSTR.
pImage
[in] Pointer to IUnknown*.
nStyle
[in, defaultvalue(0)] Value of LONGLONG.
pCustomImpl
[in, optional] Pointer to IUnknown*.
ppPict
[out, retval, defaultvalue(NULL)] Pointer to IUIX_Picture.

Return Value

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

See Also

See also IUIX_Inst.