Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Color.FromAGrayScale64 Method

Returns GrayScaleColor class instance constructed from numeric 64-bit representation of grayscale value with alpha channel.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


Visual Basic
Public Shared Function FromAGrayScale64 ( _
	alphaGrayScale As Long _
) As GrayScaleColor
public static GrayScaleColor FromAGrayScale64(
	long alphaGrayScale



Type: System.Int64

Numeric representation of the alpha grayscale value (extended).

Return Value

GrayScaleColor class instance constructed from given number.


Low word (2 bytes) of this 64-bit value contains intensity level, next word contains alpha value. The rest higher words are ignored. You can also use non-extended version of this method, i.e. FromAGrayScale32(Int32).

See Also