C# 클래스 Smrf.NodeXL.Layouts.LayoutSaver

Saves and restores a layout.
Pass a laid-out graph to the constructor, which saves the graph's vertex locations and group rectangles in private data. Call to restore the vertex locations and group rectangles to their saved values.

The number of vertices and group rectangles must remain constant between the two calls.

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

보호된 프로퍼티들

프로퍼티 타입 설명
m_aoGroupRectangles System.Drawing.Rectangle[]
m_aoVertexLocations System.Drawing.PointF[]
m_oGraph IGraph

공개 메소드들

메소드 설명
AssertValid ( ) : void
LayoutSaver ( IGraph graph ) : System

Initializes a new instance of the LayoutSaver class.

RestoreLayout ( ) : void

보호된 메소드들

메소드 설명
TryGetGroupsToDraw ( IList &oGroupsToDraw ) : System.Boolean

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

LayoutSaver() 공개 메소드

Initializes a new instance of the LayoutSaver class.
public LayoutSaver ( IGraph graph ) : System
graph IGraph
리턴 System

RestoreLayout() 공개 메소드

public RestoreLayout ( ) : void
리턴 void

TryGetGroupsToDraw() 보호된 메소드

protected TryGetGroupsToDraw ( IList &oGroupsToDraw ) : System.Boolean
oGroupsToDraw IList
리턴 System.Boolean

프로퍼티 상세

m_aoGroupRectangles 보호되어 있는 프로퍼티

protected Rectangle[],System.Drawing m_aoGroupRectangles
리턴 System.Drawing.Rectangle[]

m_aoVertexLocations 보호되어 있는 프로퍼티

protected PointF[],System.Drawing m_aoVertexLocations
리턴 System.Drawing.PointF[]

m_oGraph 보호되어 있는 프로퍼티

protected IGraph m_oGraph
리턴 IGraph