C# Class Smrf.NodeXL.ExcelTemplate.AlphaConverter

Class that converts alpha values between those used in the Excel workbook and those used in the NodeXL graph.
Inheritance: NumericValueConverterBase
显示文件 Open project: 2014-sed-team3/term-project Class Usage Examples

Public Properties

Property Type Description
MaximumAlphaGraph System.Single
MaximumAlphaWorkbook System.Single
MinimumAlphaGraph System.Single
MinimumAlphaWorkbook System.Single

Public Methods

Method Description
AlphaConverter ( ) : System

Initializes a new instance of the AlphaConverter class.

AssertValid ( ) : void
WorkbookToGraphAsByte ( System.Single workbookValue ) : Byte

Method Details

AlphaConverter() public method

Initializes a new instance of the AlphaConverter class.
public AlphaConverter ( ) : System
return System

AssertValid() public method

public AssertValid ( ) : void
return void

WorkbookToGraphAsByte() public method

public WorkbookToGraphAsByte ( System.Single workbookValue ) : Byte
workbookValue System.Single
return Byte

Property Details

MaximumAlphaGraph public_oe static_oe property

Maximum alpha value in the NodeXL graph. Represents "opaque."
public static Single,System MaximumAlphaGraph
return System.Single

MaximumAlphaWorkbook public_oe static_oe property

Maximum value that can be specified in the workbook for an alpha value. Represents "opaque."
public static Single,System MaximumAlphaWorkbook
return System.Single

MinimumAlphaGraph public_oe static_oe property

Minimum alpha value in the NodeXL graph. Represents "transparent."
public static Single,System MinimumAlphaGraph
return System.Single

MinimumAlphaWorkbook public_oe static_oe property

Minimum value that can be specified in the workbook for an alpha value. Represents "transparent."
public static Single,System MinimumAlphaWorkbook
return System.Single