C#
VB
C++
Gets the GDI+ System.Drawing.Imaging.PixelFormat that is closest to a source Leadtools.RasterImage data.
public static PixelFormat GetNearestPixelFormat(RasterImage image)
Public Shared Function GetNearestPixelFormat( _ByVal image As Leadtools.RasterImage _) As PixelFormat
public:static PixelFormat GetNearestPixelFormat(Leadtools.RasterImage^ image)
image
The source image.
You can pass the value returned from this property to the MakeCompatible method.
For more information refer to RasterImage and GDI/GDI+.
For an example, refer to MakeCompatible example.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
