IPXV_Control::CreateNewBlankDoc Method

From PDF XChange PDF SDK
Revision as of 03:49, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Creates and opens the new blank document.

Syntax

HRESULT CreateNewBlankDoc([in]                   double  nPageWidth,
                          [in]                   double  nPageHeight,
                          [in]                   LONG    nPagesCount,
                          [in, defaultvalue(0)]  LONG    nPageRotation);

Parameters

nPageWidth
[in] The width in points (1/72 in) of pages to be created.
nPageHeight
[in] The height in points (1/72 in) of pages to be created.
nPagesCount
[in] The inital count of pages to be created.
nPageRotation
[in, defaultvalue(0)] The rotation angle of new pages, multiple of 90(degrees).

Return Value

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

See Also

IPXV_Control