×

StorageFileImageSource Constructor (IStorageFile, ImageFormat)

Creates and initializes a new image source with a storage file with a known image format.

Namespace: Nokia.Graphics.ImagingAssembly: Nokia.Graphics.Imaging (in Nokia.Graphics.Imaging.dll) Version: 255.255.255.255

Syntax

C#
public StorageFileImageSource(
	IStorageFile storageFile,
	ImageFormat imageFormat
)
Visual Basic
Public Sub New ( 
	storageFile As IStorageFile,
	imageFormat As ImageFormat
)
Visual C++
public:
StorageFileImageSource(
	[InAttribute] IStorageFile^ storageFile, 
	[InAttribute] ImageFormat imageFormat
)
Parameters
storageFile
Type: Windows.Storage..::..IStorageFileThe storage file that will provide the image data.
imageFormat
Type: Nokia.Graphics.Imaging..::..ImageFormatThe image format of the image in the provided storage file.

Last updated 19 June 2014

Back to top

×