Document Solutions for Imaging
DS.Documents.Imaging.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 GrapeCity.Documents.DX.WIC.ImagingFactory _
    )
    public GcWicBitmap( 
       GcBitmap bitmap,
       GrapeCity.Documents.DX.WIC.ImagingFactory imagingFactory
    )

    Parameters

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