ID2D1RenderTarget::GetMaximumBitmapSize method (d2d1.h)

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

Syntax

UINT32 GetMaximumBitmapSize();

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

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll

See also

ID2D1RenderTarget