C# Class Smrf.NodeXL.ExcelTemplate.VertexLocationConverter

Class that converts a vertex location between coordinates used in the Excel workbook and coordinates used in the NodeXL graph.
Inheritance: Object
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Свойство Type Description
MaximumXYWorkbook System.Single
MinimumXYWorkbook System.Single

Protected Properties

Свойство Type Description
WorkbookRange System.Single
m_oGraphRectangle System.Drawing.RectangleF

Méthodes publiques

Méthode Description
GraphToWorkbook ( PointF graphLocation, System.Single &workbookX, System.Single &workbookY ) : void
VertexLocationConverter ( Rectangle graphRectangle ) : System

Initializes a new instance of the class.

WorkbookToGraph ( System.Single workbookX, System.Single workbookY ) : PointF

Private Methods

Méthode Description
AssertValid ( ) : void

Method Details

GraphToWorkbook() public méthode

public GraphToWorkbook ( PointF graphLocation, System.Single &workbookX, System.Single &workbookY ) : void
graphLocation System.Drawing.PointF
workbookX System.Single
workbookY System.Single
Résultat void

VertexLocationConverter() public méthode

Initializes a new instance of the class.
public VertexLocationConverter ( Rectangle graphRectangle ) : System
graphRectangle System.Drawing.Rectangle /// Rectangle the graph was drawn within. ///
Résultat System

WorkbookToGraph() public méthode

public WorkbookToGraph ( System.Single workbookX, System.Single workbookY ) : PointF
workbookX System.Single
workbookY System.Single
Résultat System.Drawing.PointF

Property Details

MaximumXYWorkbook public_oe static_oe property

public static Single,System MaximumXYWorkbook
Résultat System.Single

MinimumXYWorkbook public_oe static_oe property

public static Single,System MinimumXYWorkbook
Résultat System.Single

WorkbookRange protected_oe property

protected Single,System WorkbookRange
Résultat System.Single

m_oGraphRectangle protected_oe property

protected RectangleF,System.Drawing m_oGraphRectangle
Résultat System.Drawing.RectangleF