Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets an attribute of this element as a preserve aspect ratio value. This method can be used to set the value of a preserveAspectRatio attribute.
Syntax
HRESULT SetAttributeValue(
[in] PCWSTR name,
[ref] const D2D1_SVG_PRESERVE_ASPECT_RATIO & value
);
Parameters
[in] name
Type: PCWSTR
Name of the attribute to set.
[ref] value
Type: const D2D1_SVG_PRESERVE_ASPECT_RATIO
The new value of the attribute.
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 |