 |
RawImageDataResize Method |
Creates a new Data array with new dataLength and updates the Width, Height and Stride properties (Format value is preserved).
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic void Resize(
int width,
int height,
int stride,
int dataLength,
bool alwaysRecreateDataArray = false
)
Parameters
- width Int32
- new width
- height Int32
- new height
- stride Int32
- new stride
- dataLength Int32
- new length of the Data byte array
- alwaysRecreateDataArray Boolean (Optional)
- when false (by default) then the existing Data array is preserved if its size is bigger or equal to dataLength. When true then new Data array is always created.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.RawImageData.Resize(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)"]
See Also