C# Class Smrf.NodeXL.ExcelTemplate.FontSizeConverter

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

Public Properties

Property Type Description
MaximumFontSizeWorkbook System.Single
MinimumFontSizeWorkbook System.Single

Public Methods

Method Description
FontSizeConverter ( ) : System

Initializes a new instance of the FontSizeConverter class.

GraphToWorkbook ( System.Single graphValue ) : System.Single
WorkbookToGraph ( System.Single valueWorkbook ) : System.Single

Private Methods

Method Description
AssertValid ( ) : void

Method Details

FontSizeConverter() public method

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

GraphToWorkbook() public method

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

WorkbookToGraph() public method

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

Property Details

MaximumFontSizeWorkbook public_oe static_oe property

Maximum value that can be specified in the workbook for a font size.
public static Single,System MaximumFontSizeWorkbook
return System.Single

MinimumFontSizeWorkbook public_oe static_oe property

Minimum value that can be specified in the workbook for a font size.
public static Single,System MinimumFontSizeWorkbook
return System.Single