|
PartialResetImage
public int PeFunction.PartialResetImage ( int startingPoint, int pointsToDraw )
This function is called to partially redraw the image when data is added to point indices starting at nStartingPoint through nStartingPoint + nPointsToUpdate. All subset data within this point range will be redrawn.
Returns NonZero if the function was successful, otherwise Zero.
Comments Within the demo, see example 020 and 119 for more info.
This function was developed to aid in speeding update rate when the object contains a large amount of data. For example, if the object contains 5000 points and you want to add just one point to the end, use PeData.Y(nSubset, 4999) to add the necessary data point(s), then call this function to identify those data point indices which were recently added. This function plots the plotting method graphics directly to the cached DC and does not draw grid-lines or point-labels. Because of this, you will normally call PEpartialresetimage repeatedly but eventually on some interval you will want to call ReinitializeResetImage to update the image completely.
Chapter 6 of the manual has a section on Real-Time which discusses this function in more detail. Plus, look in the included example project for demo code using this feature.
PeFunction.PartialResetImage members of Pego.PeFunction, Pesgo.PeFunction, Pepso.PeFunction
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |