Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / CreateImage Method

In This Topic
    CreateImage Method (GcBitmap)
    In This Topic
    Creates the image of the given size and resolution.

    The content is not initialized and can contain any random data.

    If subsequent rendering is going to cover the whole surface of the bitmap, or if CreateGraphics will be called on the bitmap with a non-null background color, clearing it (which is a lengthy operation for large bitmaps) is not needed. If some areas of the bitmap are going to be left untouched, they must be cleared to avoid the possibility of random artifacts showing.

    Overload List
    OverloadDescription
    Creates the image of the given size and resolution.

    The content is not initialized and can contain any random data.

    If subsequent rendering is going to cover the whole surface of the bitmap, or if CreateGraphics will be called on the bitmap with a non-null background color, clearing it (which is a lengthy operation for large bitmaps) is not needed. If some areas of the bitmap are going to be left untouched, they must be cleared to avoid the possibility of random artifacts showing.

     
    Creates the image based on the existing pixel data to be read/modified in-place.  
    Creates the image based on the existing pixel data to be read/modified in-place.  
    See Also