C# Class Smrf.NodeXL.ExcelTemplate.VertexRadiusConverter

Class that converts a vertex radius between values used in the Excel workbook and values used in the NodeXL graph.
Inheritance: Object, INumericValueConverter
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Public Properties

Property Type Description
MaximumLabelFontSize System.Single
MaximumRadiusWorkbook System.Single
MinimumLabelFontSize System.Single
MinimumRadiusWorkbook System.Single

Protected Properties

Property Type Description
MinimumRadiusGraph Double

Public Methods

Method Description
GraphToWorkbook ( System.Single valueGraph ) : System.Single
VertexRadiusConverter ( ) : System

Initializes a new instance of the VertexRadiusConverter class.

WorkbookToGraph ( System.Single valueWorkbook ) : System.Single
WorkbookToLabelFontSize ( System.Single valueWorkbook ) : System.Single
WorkbookToLongerImageDimension ( 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

VertexRadiusConverter() public method

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

WorkbookToGraph() public method

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

WorkbookToLabelFontSize() public method

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

WorkbookToLongerImageDimension() public method

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

Property Details

MaximumLabelFontSize public_oe static_oe property

The vertex label font size that corresponds to MaximumRadiusWorkbook, in WPF units.
public static Single,System MaximumLabelFontSize
return System.Single

MaximumRadiusWorkbook public_oe static_oe property

Maximum value that can be specified in the workbook for a vertex radius.
public static Single,System MaximumRadiusWorkbook
return System.Single

MinimumLabelFontSize public_oe static_oe property

The vertex label font size that corresponds to MinimumRadiusWorkbook, in WPF units.
public static Single,System MinimumLabelFontSize
return System.Single

MinimumRadiusGraph protected_oe static_oe property

Minimum radius in the NodeXL graph.
protected static Double MinimumRadiusGraph
return Double

MinimumRadiusWorkbook public_oe static_oe property

Minimum value that can be specified in the workbook for a vertex radius.
public static Single,System MinimumRadiusWorkbook
return System.Single