ID2D1SvgDocument::SetViewportSize method (d2d1svg.h)
Sets the size of the initial viewport.
Syntax
HRESULT SetViewportSize(
D2D1_SIZE_F viewportSize
);
Parameters
viewportSize
Type: D2D1_SIZE_F
The size of the viewport.
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