C# (CSharp) Smrf.NodeXL.Visualization.Wpf NodeXLControl.GraphImageCenterer - 1 ejemplos encontrados. Estos son los ejemplos en C# (CSharp) del mundo real mejor valorados de Smrf.NodeXL.Visualization.Wpf.NodeXLControl.GraphImageCenterer extraídos de proyectos de código abierto. Puedes valorar ejemplos para ayudarnos a mejorar la calidad de los ejemplos.
Centers a graph image for the NodeXLControl and later restores the original graph location.
This prepares the NodeXLControl for being saved as an image. It adjusts the control's transforms so that the image will be centered on the same point on the graph that the control is centered on. This prevents an unwanted graph shift when the image has dimensions different from those of the control.
Because the NodeXLControl's transforms are not public, this class is embedded within the control.
Pass an image size to CenterGraphImage, which immediately centers the graph within the image dimensions. Call to restore the graph to its original location.