Documents for Imaging .NET Edition
GrapeCity.Documents.Common.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / GcWicBitmap Constructor / GcWicBitmap Constructor(GcBitmap,ImagingFactory)
The source GrapeCity.Documents.Imaging.GcBitmap.
The existing imaging factory, to avoid duplicating factories.

In This Topic
    GcWicBitmap Constructor(GcBitmap,ImagingFactory)
    In This Topic
    Initializes a new instance of the GcWicBitmap class from an instance of GrapeCity.Documents.Imaging.GcBitmap.

    If the source image is not opaque, the color channels must be premultiplied with the alpha channel.

    Syntax
    'Declaration
     
    Public Function New( _
       ByVal bitmap As GcBitmap, _
       Optional ByVal imagingFactory As ImagingFactory _
    )
    public GcWicBitmap( 
       GcBitmap bitmap,
       ImagingFactory imagingFactory
    )

    Parameters

    bitmap
    The source GrapeCity.Documents.Imaging.GcBitmap.
    imagingFactory
    The existing imaging factory, to avoid duplicating factories.
    See Also