IAUX_Inst::GetStdPaperInfo Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
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 == | ||
Line 16: | Line 15: | ||
== Parameters == | == Parameters == | ||
;nPaperID | ;nPaperID | ||
− | :[in] Value of [[PXV:StdPaperID|StdPaperID]]. | + | :[in] Value of [[PXV:StdPaperID|StdPaperID]] containing the ID of the standard paper. |
;nGroup | ;nGroup | ||
− | :[out] Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]]. | + | :[out] Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]] containing the standard paper group. |
;nWidth | ;nWidth | ||
− | :[out] Pointer to double. | + | :[out] Pointer to double containing the width of the paper in points. |
;nHeight | ;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.