VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Primitives Namespace / VintasoftColor Structure / FromGray(Byte) Method
Syntax Requirements SeeAlso
In This Topic
FromGray(Byte) Method (VintasoftColor)
In This Topic
Creates a VintasoftColor from gray color value.
Syntax
'Declaration

Public Shared Function FromGray( _
ByVal gray
The gray component.
As Byte _
) As VintasoftColor
public static VintasoftColor FromGray(
byte gray
)

Parameters

gray
The gray component.

Return Value

A gray color with specified component.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also