PrintControlProperties function (d2d1_1helper.h)

Returns a filled D2D1_PRINT_CONTROL_PROPERTIES structure.

Syntax

D2D1_PRINT_CONTROL_PROPERTIES PrintControlProperties(
  D2D1_PRINT_FONT_SUBSET_MODE fontSubsetMode,
  FLOAT                       rasterDpi,
  D2D1_COLOR_SPACE            colorSpace
);

Parameters

fontSubsetMode

Type: D2D1_PRINT_FONT_SUBSET_MODE

The mode to use for selecting fonts for printing.

rasterDpi

Type: FLOAT

DPI for rasterization of all unsupported D2D commands or options, defaults to150.0

colorSpace

Type: D2D1_COLOR_SPACE

Color space for vector graphics in XPS package

Return value

Type: D2D1_PRINT_CONTROL_PROPERTIES

The creation properties for a ID2D1PrintControl object.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1helper.h
Library D2d1.lib
DLL D2d1.dll