Skip to main content
A newer version of this page is available. .

ImageSource Constructors

An object that stores a specified image.
Name Parameters Description
ImageSource(SvgImage, Boolean) svgImage, isSharedResource Creates an ImageSource object and sets its ImageSource.SvgImage property to the SVG image passed as a parameter.
ImageSource(SvgImage) svgImage Creates an ImageSource object and sets its ImageSource.SvgImage property to the image passed as a parameter.
ImageSource(Image, Boolean) image, isSharedResource Creates an ImageSource object and sets its ImageSource.Image property to the image passed as a parameter.
ImageSource(Image) image Creates an ImageSource object and sets its ImageSource.Image property to the image passed as a parameter.
ImageSource(String, String) type, data For internal use.
See Also