Document Solutions for Imaging
DS.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcD2DBitmap Class / Load Method / Load(String,WicContainerFormat,Int32) Method
The file path to the image.
The image container format; use WicContainerFormat.Unknown to detect the format automatically.
Index of an image frame to read; pass 0 for image formats not supporting multiple frames.

In This Topic
    Load(String,WicContainerFormat,Int32) Method
    In This Topic
    Loads the image from a file.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal path As System.String, _
       Optional ByVal containerFormat As WicContainerFormat, _
       Optional ByVal frameIndex As System.Integer _
    ) 
    public void Load( 
       System.string path,
       WicContainerFormat containerFormat,
       System.int frameIndex
    )

    Parameters

    path
    The file path to the image.
    containerFormat
    The image container format; use WicContainerFormat.Unknown to detect the format automatically.
    frameIndex
    Index of an image frame to read; pass 0 for image formats not supporting multiple frames.
    See Also