Class WriteableBitmap
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Spreadsheet.UI
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public sealed class WriteableBitmap : BitmapSource
Constructors
WriteableBitmap(Image)
Declaration
public WriteableBitmap(Image bitmapSource)
Parameters
System.Drawing.Image
bitmapSource
|
WriteableBitmap(Int32, Int32, Int32, Int32, PixelFormat)
Declaration
public WriteableBitmap(int width, int height, int dpiX, int dpiY, PixelFormat pixelFormat)
Parameters
System.Int32
width
|
System.Int32
height
|
System.Int32
dpiX
|
System.Int32
dpiY
|
PixelFormat
pixelFormat
|
WriteableBitmap(BitmapSource)
WriteableBitmap(WriteableBitmap)
Declaration
public WriteableBitmap(WriteableBitmap writeableBitmap)
Parameters
WriteableBitmap
writeableBitmap
|
Properties
Bitmap
Declaration
public Bitmap Bitmap { get; }
Property Value
System.Drawing.Bitmap
|
Colors
Format
PixelHeight
Declaration
public int PixelHeight { get; }
Property Value
System.Int32
|
Pixels
Declaration
public IEnumerable<int> Pixels { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Int32>
|
PixelWidth
Declaration
public int PixelWidth { get; }
Property Value
System.Int32
|
Methods
CopyPixels(Byte[], Int32, Int32)
Declaration
public void CopyPixels(byte[] pixels, int stride, int offset)
Parameters
System.Byte[]
pixels
|
System.Int32
stride
|
System.Int32
offset
|
CopyPixels(Int32[], Int32, Int32)
Declaration
public void CopyPixels(int[] pixels, int stride, int offset)
Parameters
System.Int32[]
pixels
|
System.Int32
stride
|
System.Int32
offset
|
WritePixels(Rect, Int32[], Int32, Int32)
Declaration
public void WritePixels(Rect rect, int[] pixels, int stride, int offset)
Parameters
Rect
rect
|
System.Int32[]
pixels
|
System.Int32
stride
|
System.Int32
offset
|