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

Represents a dialog box for saving an image of a graph to a file.
Call ShowDialogAndSaveImage() to allow the user to save an image in a format of his choice to a location of his choice.

This class extends the SaveImageFileDialog base class by adding an option to save the graph to an XPS file.

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

공개 메소드들

메소드 설명
AssertValid ( ) : void
SaveGraphImageFileDialog ( String intialDirectory, String intialFileName ) : System

Initializes a new instance of the class.

ShowDialogAndSaveGraphImage ( NodeXLControl nodeXLControl, Int32 width, Int32 height, String headerText, String footerText, System headerFooterFont, IEnumerable legendControls ) : DialogResult

보호된 메소드들

메소드 설명
GetFilter ( ) : String
SaveObject ( Object oObject, String sFileName ) : void
ToWpsUnits ( Int32 iHeightOrWidth ) : Double

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

GetFilter() 보호된 메소드

protected GetFilter ( ) : String
리턴 String

SaveGraphImageFileDialog() 공개 메소드

Initializes a new instance of the class.
public SaveGraphImageFileDialog ( String intialDirectory, String intialFileName ) : System
intialDirectory String /// Initial directory the dialog will display. Use an empty string to let /// the dialog select an initial directory. ///
intialFileName String /// Initial file name. Can be a complete path, a path without an /// extension, a file name, or a file name without an extension. ///
리턴 System

SaveObject() 보호된 메소드

protected SaveObject ( Object oObject, String sFileName ) : void
oObject Object
sFileName String
리턴 void

ShowDialogAndSaveGraphImage() 공개 메소드

public ShowDialogAndSaveGraphImage ( NodeXLControl nodeXLControl, Int32 width, Int32 height, String headerText, String footerText, System headerFooterFont, IEnumerable legendControls ) : DialogResult
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl
width System.Int32
height System.Int32
headerText String
footerText String
headerFooterFont System
legendControls IEnumerable
리턴 DialogResult

ToWpsUnits() 보호된 메소드

protected ToWpsUnits ( Int32 iHeightOrWidth ) : Double
iHeightOrWidth System.Int32
리턴 Double