/// <summary>
/// Gets the size of.
/// </summary>
/// <returns>size of this structure</returns>
public int GetSizeOf()
{
if (bitmapPixelDataPix15 != null)
{
return(bitmapPixelDataPix15.Length * Pix15.GetSizeOf());
}
else if (bitmapPixelDataPix24 != null)
{
return(bitmapPixelDataPix24.Length * Pix24.GetSizeOf());
}
return(0);
}