C# Класс Smrf.NodeXL.ExcelTemplate.GraphImageCompositor

Composites a NodeXLControl and other elements into a UIElement.
Call the Composite method to composite a NodeXLControl with other elements into a new UIElement. Call when you are done with the UIElement. The UIElement can be used to create an image that can be saved to disk.
Наследование: Object
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_iChildIndex System.Int32
m_oGraphImageCenterer Smrf.NodeXL.Visualization.Wpf.NodeXLControl.GraphImageCenterer
m_oGraphImageScaler Smrf.NodeXL.Visualization.Wpf.GraphImageScaler
m_oGrid System.Windows.Controls.Grid
m_oLayoutSaver Smrf.NodeXL.Layouts.LayoutSaver
m_oNodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl
m_oParentPanel System.Windows.Controls.Panel

Открытые методы

Метод Описание
Composite ( Double compositeWidth, Double compositeHeight, String headerText, String footerText, System headerFooterFont, IEnumerable legendControls ) : UIElement
GraphImageCompositor ( NodeXLControl nodeXLControl ) : System

Initializes a new instance of the GraphImageCompositor class.

RestoreNodeXLControl ( ) : void

Защищенные методы

Метод Описание
CreateHeaderOrFooterLabel ( String sLabelText, Double dLabelWidth, System oLabelFont, System.Windows.Controls.Label &oLabel, Double &dLabelHeight ) : void
CreateLegendImages ( IEnumerable oLegendControls, Double dImageWidth, IEnumerable &oImages, Double &dTotalImageHeight ) : void

Приватные методы

Метод Описание
AssertValid ( ) : void

Описание методов

Composite() публичный Метод

public Composite ( Double compositeWidth, Double compositeHeight, String headerText, String footerText, System headerFooterFont, IEnumerable legendControls ) : UIElement
compositeWidth Double
compositeHeight Double
headerText String
footerText String
headerFooterFont System
legendControls IEnumerable
Результат UIElement

CreateHeaderOrFooterLabel() защищенный Метод

protected CreateHeaderOrFooterLabel ( String sLabelText, Double dLabelWidth, System oLabelFont, System.Windows.Controls.Label &oLabel, Double &dLabelHeight ) : void
sLabelText String
dLabelWidth Double
oLabelFont System
oLabel System.Windows.Controls.Label
dLabelHeight Double
Результат void

CreateLegendImages() защищенный Метод

protected CreateLegendImages ( IEnumerable oLegendControls, Double dImageWidth, IEnumerable &oImages, Double &dTotalImageHeight ) : void
oLegendControls IEnumerable
dImageWidth Double
oImages IEnumerable
dTotalImageHeight Double
Результат void

GraphImageCompositor() публичный Метод

Initializes a new instance of the GraphImageCompositor class.
public GraphImageCompositor ( NodeXLControl nodeXLControl ) : System
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl /// The NodeXLControl that will be composited by . /// This is assumed to be hosted in a Panel. ///
Результат System

RestoreNodeXLControl() публичный Метод

public RestoreNodeXLControl ( ) : void
Результат void

Описание свойств

m_iChildIndex защищенное свойство

protected Int32,System m_iChildIndex
Результат System.Int32

m_oGraphImageCenterer защищенное свойство

protected NodeXLControl.GraphImageCenterer,Smrf.NodeXL.Visualization.Wpf m_oGraphImageCenterer
Результат Smrf.NodeXL.Visualization.Wpf.NodeXLControl.GraphImageCenterer

m_oGraphImageScaler защищенное свойство

protected GraphImageScaler,Smrf.NodeXL.Visualization.Wpf m_oGraphImageScaler
Результат Smrf.NodeXL.Visualization.Wpf.GraphImageScaler

m_oGrid защищенное свойство

protected Grid,System.Windows.Controls m_oGrid
Результат System.Windows.Controls.Grid

m_oLayoutSaver защищенное свойство

protected LayoutSaver,Smrf.NodeXL.Layouts m_oLayoutSaver
Результат Smrf.NodeXL.Layouts.LayoutSaver

m_oNodeXLControl защищенное свойство

protected NodeXLControl,Smrf.NodeXL.Visualization.Wpf m_oNodeXLControl
Результат Smrf.NodeXL.Visualization.Wpf.NodeXLControl

m_oParentPanel защищенное свойство

protected Panel,System.Windows.Controls m_oParentPanel
Результат System.Windows.Controls.Panel