Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Drawing Namespace / GdiPlusDrawingContext Class / CreateGrayscaleImageAttributes Method


In This Topic
CreateGrayscaleImageAttributes Method
In This Topic
Creates an System.Drawing.Imaging.ImageAttributes object which can be used to convert an image to grayscale.
Syntax
'Declaration
 
Public Shared Function CreateGrayscaleImageAttributes() As ImageAttributes
 
'Usage
 
Dim value As ImageAttributes
 
value = GdiPlusDrawingContext.CreateGrayscaleImageAttributes()
See Also