Documents for Imaging .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / GcBitmap Constructor / GcBitmap Constructor(String,Int32,Nullable<Rectangle>)
The file path to the image.
Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
Clipping rectangle of the image to be loaded.

In This Topic
    GcBitmap Constructor(String,Int32,Nullable<Rectangle>)
    In This Topic
    Initializes a new instance of the GcBitmap class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal path As System.String, _
       Optional ByVal frameIndex As System.Integer, _
       Optional ByVal imageRect As System.Nullable(Of Rectangle) _
    )
    public GcBitmap( 
       System.string path,
       System.int frameIndex,
       System.Nullable<Rectangle> imageRect
    )

    Parameters

    path
    The file path to the image.
    frameIndex
    Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
    imageRect
    Clipping rectangle of the image to be loaded.
    See Also