[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Load

Load Method

Load(Stream, Rectangle?)

Loads the image from a stream. JPEG, PNG, WEBP formats are supported.

Declaration
public void Load(Stream stream, Rectangle? clipRect = null)
Public Sub Load(stream As Stream, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
Stream stream

The source stream.

Rectangle? clipRect

Clipping rectangle of the image to be loaded.

Load(string, Rectangle?)

Loads the image from a file. JPEG, PNG, WEBP formats are supported.

Declaration
public void Load(string filePath, Rectangle? clipRect = null)
Public Sub Load(filePath As String, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
string filePath

The file path to the image.

Rectangle? clipRect

Clipping rectangle of the image to be loaded.