Expand Minimize

ID2D1RenderTarget::GetMaximumBitmapSize method

Gets the maximum size, in device-dependent units (pixels), of any one bitmap dimension supported by the render target.

Syntax


virtual UINT32 GetMaximumBitmapSize() const = 0;

Parameters

This method has no parameters.

Return value

Type: UINT32

The maximum size, in pixels, of any one bitmap dimension supported by the render target.

Remarks

This method returns the maximum texture size of the Direct3D device.

Note  The software renderer and WARP devices return the value of 16 megapixels (16*1024*1024). You can create a Direct2D texture that is this size, but not a Direct3D texture that is this size.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1RenderTarget

 

 

Community Additions

ADD
Show:
© 2014 Microsoft