Load(String,WicContainerFormat,Int32) Method
In This Topic
Loads the image from a file.
Syntax
'Declaration
Public Overloads Sub Load( _
ByVal As System.String, _
Optional ByVal As WicContainerFormat, _
Optional ByVal As System.Integer _
)
public void Load(
System.string ,
WicContainerFormat ,
System.int
)
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