public bool BackBufferIndependentPixelAccess { get; set; }
Public Property BackBufferIndependentPixelAccess As Boolean
Get
Set
public:
property bool BackBufferIndependentPixelAccess {
bool get ();
void set (bool value);
}
member BackBufferIndependentPixelAccess : bool with get, set
It is always recommended to create buffer-independent accessors. If you do so, then you can set this property to , which allows improving the quality of some operations.
When this property is , then an exact clone of a bitmap data with custom format preserves the original pixel format. Otherwise, the clone will have a KnownPixelFormat and the raw data of the original pixels might have a different structure.
The value of this property affects also the quality of the quantizers created by the PredefinedColorsQuantizer.FromBitmapData method. If this property returns , then the quantizer will be able to reproduce the exact colors of the original custom bitmap data. Otherwise, the quantizer may not work correctly for non-indexed bitmaps or for bitmaps with more than 8 bits-per-pixels.
For safety reasons the default value of this property is .