ID2D1SvgPaint::SetId method (d2d1svg.h)

Sets the element id which acts as the paint server. This id is used if the paint type is D2D1_SVG_PAINT_TYPE_URI.

Syntax

HRESULT SetId(
  [in] PCWSTR id
);

Parameters

[in] id

Type: PCWSTR

The element id which acts as the paint server. This id is used if the paint type is D2D1_SVG_PAINT_TYPE_URI.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgPaint