PdfRenderParams function

Populates a PDF_RENDER_PARAMS stucture. 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 WINAPI PdfRenderParams(
  _In_ CONST   srcRect,
  _In_ UINT32  destinationWidth,
  _In_ UINT32  destinationHeight,
  _In_ CONST   bkColor,
  _In_ Boolean ignoreHighContrast
);

Parameters

srcRect [in]

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.

destinationWidth [in]

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

destinationHeight [in]

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

bkColor [in]

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.

ignoreHighContrast [in]

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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Windows.data.pdf.interop.h

Library

Windows.data.pdf.lib

DLL

Windows.Data.Pdf.dll

 

 

Show: