|
ResetImage
public int ResetImage ( int width, int height )
The ResetImage function rebuilds the control's image used to paint itself.
This method can be called as part of an objects initialization as shown below, or more commonly, not needed when PeFunction.ReintializeResetImage is called as it incorporates this call.
Used at the end of an objects initialization or reinitialization, if not calling ReinitializeResetImage, this call is used as follows...
Pego1.PeFunction.Reinitialize () Pego1.PeFunction.ResetImage( 0, 0 ) Pego1.Refresh
Or, more commonly, if you actually use this function, it is used like...
Pego1.PeFunction.Reinitialize () // Read ManualMaxY, or other properties related to your logic, // respect to ManualMaxY for example. Pego1.PeFunction.ResetImage () Pego1.Refresh
The above code allows you to interogate properties related to data/scales and update properties with respect to these readings without causing an additional image to be generated (which can be a lengthy process for larger data sets.)
Returns NonZero if the function was successful, otherwise Zero.
Comments PeFunction.ResetImage members of Pego.PeFunction, Pesgo.PeFunction, Pe3do.PeFunction, Pepso.PeFunction, Pepco.PeFunction
See Also: PeFunction.ResetImageEx
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |