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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for