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

Utility methods for exporting a graph.
This static class contains methods that can be used while exporting a graph.

Call GetDataToExport to get images of the graph, along with optional workbook contents, workbook settings, and GraphML.

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

공개 메소드들

메소드 설명
GetDataToExport ( Microsoft workbook, NodeXLControl nodeXLControl, System.Boolean exportWorkbookAndSettings, System.Boolean exportGraphML, String zippedGraphMLFileName, System.Boolean useFixedAspectRatio, Byte &fullSizeImage, Byte &thumbnail, Byte &workbookContents, String &workbookSettings, Byte &graphMLZipped ) : void

비공개 메소드들

메소드 설명
GetFullSizeImageSizePx ( NodeXLControl oNodeXLControl, System.Boolean bUseFixedAspectRatio ) : Size
GetGraphML ( Microsoft oWorkbook ) : String
GetImages ( NodeXLControl oNodeXLControl, System.Boolean bUseFixedAspectRatio, Byte &abtFullSizeImage, Byte &abtThumbnail ) : void
GetThumbnailImageSizePx ( Size oFullSizeImageSizePx ) : Size
GetWorkbookContents ( Microsoft oWorkbook ) : Byte[]
GetWorkbookSettings ( Microsoft oWorkbook ) : String
ImageToBytes ( Image oImage ) : Byte[]
ZipGraphML ( String sGraphML, String sZippedGraphMLFileName ) : Byte[]

메소드 상세

GetDataToExport() 공개 정적인 메소드

public static GetDataToExport ( Microsoft workbook, NodeXLControl nodeXLControl, System.Boolean exportWorkbookAndSettings, System.Boolean exportGraphML, String zippedGraphMLFileName, System.Boolean useFixedAspectRatio, Byte &fullSizeImage, Byte &thumbnail, Byte &workbookContents, String &workbookSettings, Byte &graphMLZipped ) : void
workbook Microsoft
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl
exportWorkbookAndSettings System.Boolean
exportGraphML System.Boolean
zippedGraphMLFileName String
useFixedAspectRatio System.Boolean
fullSizeImage Byte
thumbnail Byte
workbookContents Byte
workbookSettings String
graphMLZipped Byte
리턴 void