Documents for PDF .NET Edition
GrapeCity.Documents.Common.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / ImportAsFragment Method / ImportAsFragment(Byte[],Rectangle) Method
The source byte array with pixel buffer.
The destination rectangle within the target bitmap.

In This Topic
    ImportAsFragment(Byte[],Rectangle) Method
    In This Topic
    Loads the pixel buffer from a byte array at the given destination within the image.
    Syntax
    'Declaration
     
    Public Overloads Sub ImportAsFragment( _
       ByVal bytes() As System.Byte, _
       ByVal dstRect As System.Drawing.Rectangle _
    ) 
    public void ImportAsFragment( 
       System.byte[] bytes,
       System.Drawing.Rectangle dstRect
    )

    Parameters

    bytes
    The source byte array with pixel buffer.
    dstRect
    The destination rectangle within the target bitmap.
    See Also