[]
        
(Showing Draft Content)

C1.Win.Pdf.C1PdfDocument.ToImage

ToImage Method

ToImage(GcBitmap)

Gets GrapeCity.Documents.Drawing.Image object from GrapeCity.Documents.Imaging.GcBitmap object.

Declaration
public static Image ToImage(GcBitmap bmp)
Public Shared Function ToImage(bmp As GcBitmap) As Image
Parameters
Type Name Description
GcBitmap bmp

The GrapeCity.Documents.Imaging.GcBitmap object.

Returns
Type Description
Image

The GrapeCity.Documents.Drawing.Image object.

ToImage(Image)

Gets GrapeCity.Documents.Drawing.Image object from Image object.

Declaration
public static Image ToImage(Image img)
Public Shared Function ToImage(img As Image) As Image
Parameters
Type Name Description
Image img

The Image object.

Returns
Type Description
Image

The GrapeCity.Documents.Drawing.Image object.