Windows.Data.Pdf Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes for converting a page in a Portable Document Format (PDF) document to an image file.
Classes
| 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. |
Enums
| 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 API for these types of apps:
Use the RenderToStreamAsync method if your UWP 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) API RenderPageToSurface or RenderPageToDeviceContext by using C++.
Use the corresponding Component Object Model (COM) API RenderPageToSurface or RenderPageToDeviceContext if your UWP 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 Component Object Model (COM) API by using C++.
- Needs to support a zoom factor of greater than 400%.
See also
Feedback
Submit and view feedback for

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
