IAUX_Inst::GetStdPaperInfo Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IAUX_Inst::GetStdPaperInfo Method}} | {{#customTitle:IAUX_Inst::GetStdPaperInfo Method}} | ||
{{#parentPage:PXV:IAUX_Inst#Methods|GetStdPaperInfo|method}} | {{#parentPage:PXV:IAUX_Inst#Methods|GetStdPaperInfo|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets information about standard paper sizes. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT GetStdPaperInfo([in] StdPaperID nPaperID, | <pre class="brush:cpp;gutter:false">HRESULT GetStdPaperInfo([in] StdPaperID nPaperID, | ||
− | [out] StdPaperGroupID* | + | [out] StdPaperGroupID* nGroup, |
− | [out] double* | + | [out] double* nWidth, |
− | [out] double* | + | [out] double* nHeight);</pre> |
== Parameters == | == Parameters == | ||
;nPaperID | ;nPaperID | ||
− | :[in] Value of [[PXV:StdPaperID|StdPaperID]]. | + | :[in] Value of [[PXV:StdPaperID|StdPaperID]] containing the ID of the standard paper. |
− | ; | + | ;nGroup |
− | :[out] Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]]. | + | :[out] Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]] containing the standard paper group. |
− | ; | + | ;nWidth |
− | :[out] Pointer to double. | + | :[out] Pointer to double containing the width of the paper in points. |
− | ; | + | ;nHeight |
− | :[out] Pointer to double. | + | :[out] Pointer to double containing the height of the paper in points. |
== Return Value == | == Return Value == |
Latest revision as of 02:35, 6 February 2017
Gets information about standard paper sizes.
Syntax
HRESULT GetStdPaperInfo([in] StdPaperID nPaperID, [out] StdPaperGroupID* nGroup, [out] double* nWidth, [out] double* nHeight);
Parameters
- nPaperID
- [in] Value of StdPaperID containing the ID of the standard paper.
- nGroup
- [out] Pointer to StdPaperGroupID containing the standard paper group.
- nWidth
- [out] Pointer to double containing the width of the paper in points.
- nHeight
- [out] Pointer to double containing the height of the paper in points.
Return Value
Returns S_OK if operation was successful or error code in other cases.