Click or drag to resize

PixelMemoryFactoryDefaultAllocator Property

Gets the default allocator that is used by dotImage.

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static PixelMemoryAllocator DefaultAllocator { get; }

Property Value

Type: PixelMemoryAllocator
Remarks
The intent of this property is to allow client code to restore the allocator to "factory settings".
Examples

This example illustrates how to restore the Allocator to its default setting.

C#
PixelMemoryFactory.Factory.Allocator = PixelMemoryFactory.Factory.DefaultAllocator;
See Also