IAUX_Inst::GetStdPaperInfo Method

From Tracker Software PDF SDK
Jump to: navigation, search
 
(4 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}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK. Test '''pWidthN'''.  
+
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*  pGroupN,
+
                         [out]  StdPaperGroupID*  nGroup,
                         [out]  double*          pWidthN,
+
                         [out]  double*          nWidth,
                         [out]  double*          pHeightN);</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.
;pGroupN
+
;nGroup
:[out]  Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]].
+
:[out]  Pointer to [[PXV:StdPaperGroupID|StdPaperGroupID]] containing the standard paper group.
;pWidthN
+
;nWidth
:[out]  Pointer to double. more test <tt>pGroupN</tt>
+
:[out]  Pointer to double containing the width of the paper in points.
;pHeightN
+
;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