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.
Gets the bounds of the metafile in source space in DIPs. This corresponds
to the frame rect in an EMF/EMF+.
Syntax
HRESULT GetSourceBounds(
[out] D2D1_RECT_F *bounds
);
Parameters
[out] bounds
Type: D2D1_RECT_F*
The bounds, in DIPs, of the metafile.
Return value
Type: HRESULT
S_OK if successful, otherwise a failure HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2016 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1_3.h |
DLL | D2d1.dll |