CanvasVirtualBitmapOptions Enumeration |
Options passed to CanvasVirtualBitmap.LoadAsync.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasVirtualBitmapOptions
Members
| Member name | Value | Description |
---|
| None | 0 | The default - the entire image is loaded from disk and the bitmap
retains a reference to the stream. |
| ReleaseSource | 1 | The CanvasVirtualBitmap will release the stream after loading.
Setting this disables some quality and speed optimizations when this
bitmap is used for printing. |
| CacheOnDemand | 2 | CanvasVirtualBitmap will attempt to load the image in cache on
demand mode, only loading the parts of the image that are required for
drawing. |
See Also