AnsweredAssumed Answered

Display caching explanation?

Question asked by levnagdimunov0 on Feb 27, 2018

My question is regarding the "How to add display caching" description in ArcObjects SDK help. This portion of the documentation describes a Picture1_Paint function, stating that it "uses a recording to implement a display cache in the application's Paint method". However it is not clear to me where this function would go - does it need to be bound to some event that calls it, and which event would be appropriate? Also, it contains a call to a MyDraw function, which I assume uses IScreenDisplay.StartDrawing and IScreenDisplay.FinishDrawing, but it is not clear what goes in-between if I want to draw a raster; IScreenDisplay does not seemingly have any raster draw methods.

Outcomes