ImageBuffer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class ImageBuffer sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Graphics.Imaging.ImageBufferContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ImageBuffer final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Graphics.Imaging.ImageBufferContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ImageBuffer : System.IDisposable
Public NotInheritable Class ImageBuffer
Implements IDisposable
- Inheritance
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Buffer | |
| PixelFormat | |
| PixelHeight | |
| PixelWidth | |
| RowStride | |
Methods
| Name | Description |
|---|---|
| Close() | |
| CopyToByteArray(Byte[]) | |
| CopyToSoftwareBitmap() | |
| CreateForBuffer(IBuffer, ImageBufferPixelFormat, Int32, Int32, Int32) | |
| CreateForSoftwareBitmap(SoftwareBitmap) | |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |