|
Painting
Purpose This property is rarely needed and shows whether the object is currently building an image. This property is normally not needed. However, in certain multi-threaded scenarios, you may need to read this property before calling PEreinitialize, PEresetimage (or PEactions = 0) and other PE functions that may cause an image to be built. If this property reads back TRUE, then go into an infinite loop until this property reads FALSE. Once FALSE it is safe to call the functions described above. If you are experiencing stability problems and know you are having a multi-threaded problem. Try using this property as described.
Ideally, it's best to only use extra threads to gather data as needed and place into buffers. Then, have only the primary thread transfer data and update the chart's image as needed. This will eliminate the problem without needing the use of the Painting property and represents the most efficient solution.
Comments PeSpecial.Painting members of Pego.PeSpecial, Pesgo.PeSpecial, Pe3do.PeSpecial, Pepso.PeSpecial, Pepco.PeSpecial
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |