Windows Dev Center

Windows.Data.Pdf namespace

Contains classes for converting a page in a Portable Document Format (PDF) document to an image file.

Members

The Windows.Data.Pdf namespace has these types of members:

Classes

The Windows.Data.Pdf namespace has these classes.

ClassDescription
PdfDocument Represents a Portable Document Format (PDF) document.
PdfPage Represents a single page in a Portable Document Format (PDF) document.
PdfPageDimensions Represents the dimensions of a single page in a Portable Document Format (PDF) document.
PdfPageRenderOptions Represents display settings for a single page of a Portable Document Format (PDF) document, such as the page's background color and its encoding type.

 

Enumerations

The Windows.Data.Pdf namespace has these enumerations.

EnumerationDescription
PdfPageRotation Specifies the number of degrees that a page in a Portable Document Format (PDF) document is rotated in the rendered output.

 

Remarks

We recommend using the following APIs for these types of apps:

  • Use the RenderToStreamAsync method if your Windows Store app:
    • Uses JavaScript and HTML.
    • Uses C# and Extensible Application Markup Language (XAML), and you're not comfortable writing an interop layer over the corresponding Component Object Model (COM) APIs RenderPageToSurface or RenderPageToDeviceContext by using C++.
  • Use the corresponding COM APIs RenderPageToSurface or RenderPageToDeviceContext if your Windows Store app:
    • Uses C++ and XAML.
    • Uses C++ and Microsoft DirectX.
    • Uses C# and XAML, and you are comfortable writing an interop layer over these corresponding COM APIs by using C++.
    • Needs to support a zoom factor of greater than 400%.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Data.Pdf
Windows::Data::Pdf [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft