← Back to carmenta.com
Carmenta Engine SDK Documentation
×

SvgSymbol.CacheAsBitmap Property

Gets or sets a value that determines whether the symbol is cached as a bitmap.

Thread safety: This property is not thread-safe. Show

Syntax

C#
public System.Boolean CacheAsBitmap { get; set; }

Property Value

Type: System.Boolean
Default: false
True if the symbol is cached as a bitmap; otherwise, False.

Remarks

Enabling bitmap caching will increase rendering performance in most cases, but may result in reduced rendering quality if the symbol is scaled.

If the symbol contains for instance a text field that changes frequently, you probably should set this property to False, since the bitmap would have to be regenerated every time the text changes. You would also quickly increase the size of the cache and use a lot of extra memory. The cache used for these bitmaps is separate from the global memory cache.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept