ID2D1SvgPaint::SetId method

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

id [in]

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

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgPaint

 

 

Show: