public static PixelFormat GetNearestPixelFormat( RasterImage image )
'Declaration Public Shared Function GetNearestPixelFormat( _ ByVal image As RasterImage _ ) As PixelFormat
'Usage Dim image As RasterImage Dim value As PixelFormat value = RasterImageConverter.GetNearestPixelFormat(image)
public static PixelFormat GetNearestPixelFormat( RasterImage image )
function Leadtools.Drawing.RasterImageConverter.GetNearestPixelFormat( image )
public: static PixelFormat GetNearestPixelFormat( RasterImage^ image )
You can pass the value returned from this property to the MakeCompatible method.
For more information refer to RasterImage and GDI/GDI+.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2