RenderCapability.MaxHardwareTextureSize Property

.NET Framework (current version)

Gets the maximum width and height for bitmap creation of the underlying hardware device.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static Size MaxHardwareTextureSize { get; }

Property Value

Type: System.Windows.Size

A Size that represents the maximum width and height for hardware bitmap creation.

If there are multiple devices, MaxHardwareTextureSize returns the minimum size among them.

.NET Framework
Available since 4.0
Return to top