IAUX_Inst::GetStdPaperInfo Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Reverted edits by Serg (talk) to last revision by Dsbot)
 
(3 intermediate revisions by one other user 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}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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*  pGroup,
+
                         [out]  StdPaperGroupID*  nGroup,
                         [out]  double*          pWidth,
+
                         [out]  double*          nWidth,
                         [out]  double*          pHeight);</pre>
+
                         [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.
;pGroup
+
;nGroup
:[out]  Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]].
+
:[out]  Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]] containing the standard paper group.
;pWidth
+
;nWidth
:[out]  Pointer to double.
+
:[out]  Pointer to double containing the width of the paper in points.
;pHeight
+
;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 03: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.

See Also

IAUX_Inst