C# 클래스 Smrf.NodeXL.ExcelTemplate.ColorConverter2

Class that converts a color between values used in the Excel workbook and values used in the NodeXL graph.
This is called ColorConverter2 to distinguish it from System.Drawing.ColorConverter without requiring the specification of a namespace.

Colors are treated differently from the other value types that derive from TextValueConverterBase, so this class doesn't derive from that base class.

상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_oColorConverter System.Drawing.ColorConverter
m_oCommonColorNames String>.Dictionary

공개 메소드들

메소드 설명
ColorConverter2 ( ) : System

Initializes a new instance of the ColorConverter2 class.

GraphToWorkbook ( Color graphValue ) : String
TryWorkbookToGraph ( String workbookValue, Color &graphValue ) : System.Boolean

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

ColorConverter2() 공개 메소드

Initializes a new instance of the ColorConverter2 class.
public ColorConverter2 ( ) : System
리턴 System

GraphToWorkbook() 공개 메소드

public GraphToWorkbook ( Color graphValue ) : String
graphValue Color
리턴 String

TryWorkbookToGraph() 공개 메소드

public TryWorkbookToGraph ( String workbookValue, Color &graphValue ) : System.Boolean
workbookValue String
graphValue Color
리턴 System.Boolean

프로퍼티 상세

m_oColorConverter 보호되어 있는 프로퍼티

protected ColorConverter,System.Drawing m_oColorConverter
리턴 System.Drawing.ColorConverter

m_oCommonColorNames 보호되어 있는 프로퍼티

protected Dictionary m_oCommonColorNames
리턴 String>.Dictionary