Xamarin.ios 如何在mono touch中从位矩阵创建Qrcode图像

Xamarin.ios 如何在mono touch中从位矩阵创建Qrcode图像,xamarin.ios,Xamarin.ios,我正在使用zXing.net.monotouch.dll库在monotouch中创建QRCode。我使用下面的代码得到了位矩阵。我不知道如何把它转换成图像。在网上,每个人都在使用com.google.zxing.common.BitMatrix,但我的程序不支持它。请为我找到一个解决方案: ZXing.QrCode.QRCodeWriter ObjQrCodeWriter= new ZXing.QrCode.QRCodeWriter(); ZXing.Common.BitMatrix bitMa

我正在使用zXing.net.monotouch.dll库在monotouch中创建QRCode。我使用下面的代码得到了位矩阵。我不知道如何把它转换成图像。在网上,每个人都在使用com.google.zxing.common.BitMatrix,但我的程序不支持它。请为我找到一个解决方案:

ZXing.QrCode.QRCodeWriter ObjQrCodeWriter= new ZXing.QrCode.QRCodeWriter();
ZXing.Common.BitMatrix bitMatrix1=ObjQrCodeWriter.encode("this is a string content",ZXing.BarcodeFormat.QR_CODE,60,60);

使用类ZXing.barcoderewriter

var writer = new ZXing.BarcodeWriter
{ 
   Format = BarcodeFormat.QR_CODE, 
   Options = new EncodingOptions { Height = 60, Width = 60 } 
};
var image = writer.Write("this is a string content");