WorkspaceToView(Position: Prognoz.Platform.Interop.Drawing.IGxPointF): Prognoz.Platform.Interop.Drawing.IGxPointF;
Position. Workspace coordinate.
The WorkspaceToView method returns a view coordinate, that corresponds to the defined coordinate of the workspace.
Executing the example requires a form with the Button1 button, the WorkspaceBox component named WorkspaceBox1 and a data source for the WorkspaceBox1.
Add links to the Andy, Drawing, Workspace system assemblies.
After executing the example a view center offset relative to a workspace is changed.
See also: