ID2D1SvgDocument::SetViewportSize method

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

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgDocument

 

 

Show: