Create(ImagingFactory,Int32,Int32,Guid,DataRectangle,Int32) Method
In This Topic
Initializes a new instance of the
Bitmap class from a memory location using
C1.Util.DX.DataRectangle.
Syntax
'Declaration
Public Overloads Shared Function Create( _
ByVal As ImagingFactory, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Guid, _
ByVal As DataRectangle, _
Optional ByVal As System.Integer _
) As Bitmap
public static Bitmap Create(
ImagingFactory ,
System.int ,
System.int ,
System.Guid ,
DataRectangle ,
System.int
)
Parameters
- factory
- The factory.
- width
- The width.
- height
- The height.
- pixelFormat
- The pixel format.
- dataRectangle
- The data rectangle.
- totalSizeInBytes
- Size of the buffer in dataRectangle. If == 0, calculate the size automatically based on the height and row pitch.
See Also