|
GLG Toolkit, C# Class Library
Version 4.6
|
Functions | |
| virtual String | GetDrawingFile () |
| Returns the value of the DrawingFile property. More... | |
| virtual GlgObject | GetDrawingObject () |
| Queries the value of the DrawingObject property. More... | |
| virtual String | GetDrawingURL () |
| Returns the value of the DrawingURL property. More... | |
| virtual Encoding | GetEncoding () |
| Returns the default encoding. More... | |
| virtual GlgObject | GetViewport () |
| Returns the control's viewport object. More... | |
| virtual bool | IsReady () |
| Queries the ready state of the control. More... | |
| virtual bool | SetAutoUpdateOnInput (bool update) |
| Enabled or disables automatic updates on input events. More... | |
| virtual void | SetDrawingFile (String drawing_file) |
| Sets the DrawingFile property. More... | |
| virtual bool | SetDrawingObject (GlgObject drawing_object) |
| Sets the DrawingObject property to a GLG object to be used as the control's viewport. More... | |
| virtual void | SetDrawingURL (String drawing_url) |
| Sets the DrawingURL property. More... | |
| virtual void | SetEncoding (Encoding encoding) |
| Sets the default encoding. More... | |
|
virtual |
Returns the value of the DrawingFile property.
|
virtual |
Queries the value of the DrawingObject property.
|
virtual |
Returns the value of the DrawingURL property.
|
virtual |
Returns the default encoding.
|
virtual |
Returns the control's viewport object.
|
virtual |
Queries the ready state of the control.
|
virtual |
Enabled or disables automatic updates on input events.
Returns the previous setting of automatic updates.
| update | true to enable automatic updates on input events, false to disable. |
Automatic updates on input events are enabled by default, but may be disabled to prevent slowing down scrolling and other operations of the real-time charts.
If automatic updates are turned off, input objects redraw themselves on user input event, but an explicit UpdateGlg call has to be used to redraw any objects constrained to input objects and located outside them. When automatic updates are turned off, the application code also has to explicitly invoke UpdateGlg for timer events (Format="Timer") to update objects in the drawing with the timer transformations attached.
|
virtual |
Sets the DrawingFile property.
| drawing_file | The file to load the drawing from. |
The drawing must contain a viewport named $Widget, which will be used as the top-level viewport of the control.
|
virtual |
Sets the DrawingObject property to a GLG object to be used as the control's viewport.
The method may be used to replace a drawing displayed in the control.
| drawing_object | The drawing object containing a viewport named $Widget, which will be used as the top-level viewport of the control. |
|
virtual |
Sets the DrawingURL property.
| drawing_url | The URL to load the drawing from. |
The drawing must contain a viewport named $Widget, which will be used as the top-level viewport of the control.
|
virtual |
Sets the default encoding.
| encoding | Encoding used for decoding strings in the loaded drawing. |