Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterImage Class : CreateGrayscale Method |
The number of bits per pixel.
Valid values are 8, 12, 16.
public static RasterImage CreateGrayscale( int width, int height, int bitsPerPixel, int resolution )
'Declaration
Public Shared Function CreateGrayscale( _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal bitsPerPixel As Integer, _ ByVal resolution As Integer _ ) As RasterImage
'Usage
Dim width As Integer Dim height As Integer Dim bitsPerPixel As Integer Dim resolution As Integer Dim value As RasterImage value = RasterImage.CreateGrayscale(width, height, bitsPerPixel, resolution)
public static RasterImage CreateGrayscale( int width, int height, int bitsPerPixel, int resolution )
+ (nullable instancetype)grayscaleImageWithWidth:(NSInteger)width height:(NSInteger)height bitsPerPixel:(NSInteger)bitsPerPixel resolution:(NSInteger)resolution error:(NSError **)error
public static RasterImage createGrayscale( int width, int height, int bitsPerPixel, int resolution )
function Leadtools.RasterImage.CreateGrayscale( width , height , bitsPerPixel , resolution )
public: static RasterImage^ CreateGrayscale( int width, int height, int bitsPerPixel, int resolution )
The number of bits per pixel.
Valid values are 8, 12, 16.