Visit Gigasoft's Web Site
 ProEssentials v10 Help

Gigasoft.ProEssentials.Pego.PeFunction Members

AppendFromURL

Call to implement incremental-data / real-time / strip-chart internet updating. The items below are set within the Pedo asp.net WebForm server control. Items below can be read after the AppendFromUrl call for general data transfer purposes or to control the strip chart shifting logic in a more programmatic manner.

ChangeResources

Call to change resources (international localization) to the specified file.

ConvPixelToGraph

Call to convert pixel units to graph coordinates and vice versa.

Dialog

Dialog related functions.

DrawTable

Use to instantly update a table annotation's screen appearence without having to rebuild image.

ExportText

Export the chart's data in a textual format that can imported into Excel, Notepad, and other software. This function performs the programmatic function of TextExport dialog without dialog intervention.

GetFallDayLight

Called to get fall day light settings.

GetGraphLoc

Helper function to read the GraphLoc property defining the location (in graph coordinates) of the most recent Graph Hot-Spot event.

GetHotSpot

Call to determine if a hot spot is located beneath the current mouse coordinates.

GetHotSpotData

Called after GetHotSpot to determine current hot spot parameters.

GetRectAxis

Called to get pixel coordinates of the rectangle bounding axis. Establish PeGrid.WorkingAxis before retrieving this property.

GetRectGraph

Called to get pixel coordinates of the rectangle bounding grid or charting area.

GetRectTA

Called to get pixel coordinates of the rectangle bounding table annotation.

GetRectZoomWindow

Called to get pixel coordinates of the rectangle bounding grid of ZoomWindow area.

GetSpringDayLight

Called to get spring day light settings.

Image

Image related functions.

LoadFromURL

Call to update a control with data and settings from a server page.

LoadObjectFromFile

This function restores the object from a binary file named by fileName. The file loaded must have been created with the SaveObjectToFile function for the same type of object.

LoadObjectFromStream

Load an object from a previously stored MemoryStream via SaveObjectToStream.

PartialReinitialize

Rarely needed, instead use PartialReinitializeResetImage which incorporates this call. For most implementations, the use of this method is not necessary.

PartialReinitializeResetImage

This function finalizes the initialization of the chart and builds an image reflecting current property settings. Thus, this call is usually the last line of initializationg code, and is often followed by the Refresh method.

PartialResetImage

Used for certain Real-Time implementations, call to partially and immediately redraw a portion of image (direct to screen) after data is added.

PrintGraph

Call to directly print image without dialog intervention. Width and Height are in units of 100th millimeter. Setting both zero will trigger full page output.

PrintGraphEx

Call to send image to a printer device context. Width and Height are in units of 100th millimeter.

Reinitialize

Call this function after adjusting properties and you want to read ManualMaxY, ManualYAxisLine, and other data/scale related properties without having to first generate an image.

ReinitializeResetImage

Call this function when you have completed all desired property settings. Usually call Refresh after this call to complete your chart's initialization. This function internally calls Reinitialize, ResetImage, and Windows InvalidateRect.

Reset

Resets the object to the default state. It's a good practice to call Reset between complex states of an object. This will clear up problems related to rebuilding a complex chart repeatedly.

ResetImage

Generally use ReinitializeResetImage or ReinitializePartialResetImage instead, which includes this call. Call this function to rebuild the control's image to a specified size.

ResetImageEx

Call this function before calling ProEssentials.Api.PEgetmeta to get a handle to be used with PEplaymetafile/PlayMetafile while sending an image to a printer DC.

SaveObjectToFile

This function stores the object into a binary file. LoadObjectFromFile restores the object from this file.

SaveObjectToStream

Save object to a MemoryStream. Later it can be restored with LoadObjectFromStream.

SerializeActiveXToFile

Saves control state into a binary file which will then be used with DATA attribute of an HTML OBJECT tag within an HTML page. WebForm's property, ImageUrl, is the same thing as the DATA attribute.

SetFallDayLight

Called to set fall day light settings.

SetSpringDayLight

Called to set spring day light settings.

UndoZoom

Call this function to undo the zoom state for the chart. This performs the same action as if the user selected the Undo Zoom menu item.