[]
Represents a cache used to speed up rendering.
An instance of this class can be passed to Draw(GcGraphics, RectangleF, ViewState, bool, bool, RenderingCache, bool), DrawAnnotations(GcGraphics, RectangleF, RenderingCache), DrawAnnotations(GcGraphics, RectangleF, IList<AnnotationBase>, ViewState, RenderingCache, bool) methods to improve the rendering speed.
public class RenderingCache : IDisposable
Initializes a new instance of the RenderingCache class.
public RenderingCache(int memoryLimit = 200)
memoryLimit
intThe maximum amount of memory to be used by the cache, in megabytes.
Gets the maximum amount of memory that can be used by this cache, in megabytes.
public int MemoryLimit { get; }
Disposes the object.
public void Dispose()