interop::PdfRenderParams function (windows.data.pdf.interop.h)

Populates a PDF_RENDER_PARAMS structure. A PDF_RENDER_PARAMS structure represents a set of properties for outputting a single page of a Portable Document Format (PDF) file.

Syntax

PDF_RENDER_PARAMS PdfRenderParams(
  [in] const D2D_RECT_F &  srcRect,
  [in] UINT32              destinationWidth,
  [in] UINT32              destinationHeight,
  [in] const D2D_COLOR_F & bkColor,
  [in] BOOLEAN             ignoreHighContrast
);

Parameters

[in] srcRect

The rectangular portion of the original page, as defined by the D2D_RECT_F structure's upper-left and lower-right corner x- and y-coordinates. The default value is 0.f for all coordinates.

[in] destinationWidth

The specified width of the page. The default is 0.f.

[in] destinationHeight

The specified height of the page. The default is 0.f.

[in] bkColor

The specified background color of the page. The default is {1.f, 1.f, 1.f, 1.f}, which represents the values 1.0 for red, green, blue, and alpha channel, respectively. These values, taken together, represent white at full opacity.

[in] ignoreHighContrast

False to use the system's high contrast display settings; otherwise true. The default is true.

Return value

Represents a set of properties for outputting a single page of a Portable Document Format (PDF) file.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header windows.data.pdf.interop.h
Library Windows.data.pdf.lib
DLL Windows.Data.Pdf.dll