public byte[] Render2(string Format, string DeviceInfo, RSPageCountMode PaginationMode, out string Extension, out string MimeType, out string Encoding, out RSWarning[] Warnings, out string[] StreamIds) { Warning[] warns = null; PageCountMode paginatiionMode = (PageCountMode)Converter.Convert(PaginationMode); byte[] outval = rs.Render2(Format, DeviceInfo, paginatiionMode, out Extension, out MimeType, out Encoding, out warns, out StreamIds); Warnings = (RSWarning[])Converter.Convert(warns); return(outval); }