Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
NearestGdiPlusPixelFormat Property
See Also 
Leadtools Namespace > RasterImage Class : NearestGdiPlusPixelFormat Property




Gets the GDI+ PixelFormat that is closest to this RasterImage data.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property NearestGdiPlusPixelFormat As PixelFormat
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As PixelFormat
 
value = instance.NearestGdiPlusPixelFormat
C# 
public PixelFormat NearestGdiPlusPixelFormat {get;}
Managed Extensions for C++ 
public: __property PixelFormat get_NearestGdiPlusPixelFormat();
C++/CLI 
public:
property PixelFormat NearestGdiPlusPixelFormat {
   PixelFormat get();
}

Return Value

The GDI+ PixelFormat that is closest to this RasterImage data.

Example

For an example, refer to ConvertToGdiPlusImage example.

Remarks

You can pass the value returned from this property to the ConvertToGdiPlusImage method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also