DrawOnGraphics(Graphics: IGxGraphics);
DrawOnGraphics(Graphics: Prognoz.Platform.Interop.Drawing.IGxGraphics);
Graphics. Graphical context.
The DrawOnGraphics method draws a workspace within a graphical context.
Executing the example requires a form with the Button1 button, the WorkspaceBox component named WorkspaceBox1 and a data source for the WorkspaceBox1. The file system must contain the C:\WSP.pngĀ» image.
Add links to the Andy, Drawing, Workspace system assemblies.
After executing the example the part of workspace image of defined size is saved to the file.
See also: