void Init(Document document, string mimeType, DocumentEncoderFlags flags) { UniString type = new UniString(mimeType); try { docEncoder.init((nsIDOMDocument)document.nodeNoProxy, type.Handle, (uint)flags); } catch (System.Exception ex) { throw new Mono.WebBrowser.Exception(Mono.WebBrowser.Exception.ErrorCodes.DocumentEncoderService, ex); } }
void Init (Document document, string mimeType, DocumentEncoderFlags flags) { UniString type = new UniString (mimeType); try { docEncoder.init ((nsIDOMDocument)document.nodeNoProxy, type.Handle, (uint)flags); } catch (System.Exception ex) { throw new Mono.WebBrowser.Exception (Mono.WebBrowser.Exception.ErrorCodes.DocumentEncoderService, ex); } }