SwfDotNet.IO.Tags.Types.Pix15.GetSizeOf C# (CSharp) Method

GetSizeOf() public static method

Gets the size of.
public static GetSizeOf ( ) : int
return int
        public static int GetSizeOf()
        {
            return 2;
        }

Usage Example

Example #1
0
 /// <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);
 }