C# Class Smrf.NodeXL.ExcelTemplate.NumericValueConverterBase

Base class for a family of classes that convert numeric values in the Excel workbook to and from numeric values in the NodeXL graph.
Inheritance: Object, INumericValueConverter
Mostra file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_fMaximumValueGraph System.Single
m_fMaximumValueWorkbook System.Single
m_fMinimumValueGraph System.Single
m_fMinimumValueWorkbook System.Single

Public Methods

Method Description
GraphToWorkbook ( System.Single valueGraph ) : System.Single
NumericValueConverterBase ( System.Single minimumValueWorkbook, System.Single maximumValueWorkbook, System.Single minimumValueGraph, System.Single maximumValueGraph ) : System

Initializes a new instance of the class.

WorkbookToGraph ( System.Single valueWorkbook ) : System.Single

Private Methods

Method Description
AssertValid ( ) : void

Method Details

GraphToWorkbook() public method

public GraphToWorkbook ( System.Single valueGraph ) : System.Single
valueGraph System.Single
return System.Single

NumericValueConverterBase() public method

Initializes a new instance of the class.
public NumericValueConverterBase ( System.Single minimumValueWorkbook, System.Single maximumValueWorkbook, System.Single minimumValueGraph, System.Single maximumValueGraph ) : System
minimumValueWorkbook System.Single /// Minimum value that can be specified in the workbook. ///
maximumValueWorkbook System.Single /// Maximum value that can be specified in the workbook. Must be greater /// than . ///
minimumValueGraph System.Single /// Minimum value in the NodeXL graph. ///
maximumValueGraph System.Single /// Maximum value in the NodeXL graph. Must be greater than . ///
return System

WorkbookToGraph() public method

public WorkbookToGraph ( System.Single valueWorkbook ) : System.Single
valueWorkbook System.Single
return System.Single

Property Details

m_fMaximumValueGraph protected_oe property

protected Single,System m_fMaximumValueGraph
return System.Single

m_fMaximumValueWorkbook protected_oe property

protected Single,System m_fMaximumValueWorkbook
return System.Single

m_fMinimumValueGraph protected_oe property

protected Single,System m_fMinimumValueGraph
return System.Single

m_fMinimumValueWorkbook protected_oe property

protected Single,System m_fMinimumValueWorkbook
return System.Single