ImageSource Constructors

An object that stores a specified image.
Name Parameters Description
ImageSource(SvgImage) svgImage Creates an ImageSource object and sets its ImageSource.SvgImage property to the image passed as a parameter.
ImageSource(SvgImage, Boolean) svgImage, isSharedResource Creates an ImageSource object and sets its ImageSource.SvgImage property to the SVG image passed as a parameter.
ImageSource(Boolean, Byte[]) isSvg, bytes Initializes a new instance of the ImageSource class with specified settings.
ImageSource(Image) image Creates an ImageSource object and sets its ImageSource.Image 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(String, String) type, data For internal use.
See Also