示例#1
0
        BinaryBitmap GetImage(string fileName)
        {
            // Get image file and pass in the bytes
            // or pass in the image name and load the image from the platform.

            var binaryBitmap = _imageHelper.GetBinaryBitmap(null);

            return(binaryBitmap);
        }
        BinaryBitmap GetImage(string fileName)
        {
            // Get image file and pass in the bytes array
            // or pass in the image name and load the image from the platform implementation.

            var byteArray = (fileName);

            var binaryBitmap = _imageHelper.GetBinaryBitmap(byteArray);

            return(binaryBitmap);
        }