[{"data":1,"prerenderedAt":1389},["ShallowReactive",2],{"content-query-lzZvuQWcFL":3,"navigation":1041},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"body":11,"_type":1034,"_id":1035,"_source":1036,"_file":1037,"_stem":1038,"_extension":1039,"sitemap":1040},"/document/advanced/memory-workbook","advanced",false,"","メモリワークブック","メモリワークブックの作成は、Excelファイルからの読み込み、ワークシートの内容の編集、新しいExcelファイルとしての保存を行うタスクに特に有用なオプションです。従来の画面コントロールの作成とは異なり、メモリワークブックは画面コントロールインスタンスなしで動作し、ビューポートコントローラーやマウス・キーボードコントローラーなどのインターフェースモジュールを持ちません。このため、画面コントロールベースの実装に比べて、大幅に高速かつ軽量です。","2016-01-23",{"type":12,"children":13,"toc":1027},"root",[14,21,32,42,47,97,102,127,132,167,174,179,323,329,334,458,465,470,478,484,489,1021],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19],{"type":20,"value":9},"text",{"type":15,"tag":16,"props":22,"children":23},{},[24,30],{"type":15,"tag":25,"props":26,"children":29},"img",{"alt":27,"src":28},"342","/document/images/342.png",[],{"type":20,"value":31},"\n図：ブラウザからExcelまたはCSVファイルをアップロードし、データをデータベースに処理する。",{"type":15,"tag":16,"props":33,"children":34},{},[35,40],{"type":15,"tag":25,"props":36,"children":39},{"alt":37,"src":38},"343","/document/images/343.png",[],{"type":20,"value":41},"\n図：ASP.NETフォームページで生成されたExcelまたはCSVファイルをダウンロードする。",{"type":15,"tag":16,"props":43,"children":44},{},[45],{"type":20,"value":46},"メモリワークブックを初期化するには、以下の構文を使用します。",{"type":15,"tag":48,"props":49,"children":53},"pre",{"className":50,"code":51,"language":52,"meta":7,"style":7},"language-cs shiki shiki-themes github-light github-dark github-light","var workbook = ReoGridControl.CreateMemoryWorkbook();\n","cs",[54],{"type":15,"tag":55,"props":56,"children":57},"code",{"__ignoreMap":7},[58],{"type":15,"tag":59,"props":60,"children":63},"span",{"class":61,"line":62},"line",1,[64,70,76,81,87,92],{"type":15,"tag":59,"props":65,"children":67},{"style":66},"--shiki-light:#D73A49;--shiki-dark:#F97583;--shiki-default:#D73A49",[68],{"type":20,"value":69},"var",{"type":15,"tag":59,"props":71,"children":73},{"style":72},"--shiki-light:#6F42C1;--shiki-dark:#B392F0;--shiki-default:#6F42C1",[74],{"type":20,"value":75}," workbook",{"type":15,"tag":59,"props":77,"children":78},{"style":66},[79],{"type":20,"value":80}," =",{"type":15,"tag":59,"props":82,"children":84},{"style":83},"--shiki-light:#24292E;--shiki-dark:#E1E4E8;--shiki-default:#24292E",[85],{"type":20,"value":86}," ReoGridControl.",{"type":15,"tag":59,"props":88,"children":89},{"style":72},[90],{"type":20,"value":91},"CreateMemoryWorkbook",{"type":15,"tag":59,"props":93,"children":94},{"style":83},[95],{"type":20,"value":96},"();\n",{"type":15,"tag":16,"props":98,"children":99},{},[100],{"type":20,"value":101},"ワークブックをダウンロードストリームにExcelファイルとして保存するには：",{"type":15,"tag":48,"props":103,"children":105},{"className":50,"code":104,"language":52,"meta":7,"style":7},"workbook.Save(Response.OutputStream, unvell.ReoGrid.IO.FileFormat.Excel2007);\n",[106],{"type":15,"tag":55,"props":107,"children":108},{"__ignoreMap":7},[109],{"type":15,"tag":59,"props":110,"children":111},{"class":61,"line":62},[112,117,122],{"type":15,"tag":59,"props":113,"children":114},{"style":83},[115],{"type":20,"value":116},"workbook.",{"type":15,"tag":59,"props":118,"children":119},{"style":72},[120],{"type":20,"value":121},"Save",{"type":15,"tag":59,"props":123,"children":124},{"style":83},[125],{"type":20,"value":126},"(Response.OutputStream, unvell.ReoGrid.IO.FileFormat.Excel2007);\n",{"type":15,"tag":16,"props":128,"children":129},{},[130],{"type":20,"value":131},"メモリワークブックにExcelファイルを読み込むには、以下のコードスニペットを使用します。",{"type":15,"tag":48,"props":133,"children":135},{"className":50,"code":134,"language":52,"meta":7,"style":7},"workbook.Load(@\"C:\\MyTemplate.xlsx\", FileFormat.Excel2007);\n",[136],{"type":15,"tag":55,"props":137,"children":138},{"__ignoreMap":7},[139],{"type":15,"tag":59,"props":140,"children":141},{"class":61,"line":62},[142,146,151,156,162],{"type":15,"tag":59,"props":143,"children":144},{"style":83},[145],{"type":20,"value":116},{"type":15,"tag":59,"props":147,"children":148},{"style":72},[149],{"type":20,"value":150},"Load",{"type":15,"tag":59,"props":152,"children":153},{"style":83},[154],{"type":20,"value":155},"(",{"type":15,"tag":59,"props":157,"children":159},{"style":158},"--shiki-light:#032F62;--shiki-dark:#9ECBFF;--shiki-default:#032F62",[160],{"type":20,"value":161},"@\"C:\\MyTemplate.xlsx\"",{"type":15,"tag":59,"props":163,"children":164},{"style":83},[165],{"type":20,"value":166},", FileFormat.Excel2007);\n",{"type":15,"tag":168,"props":169,"children":171},"h3",{"id":170},"利用可能なapi",[172],{"type":20,"value":173},"利用可能なAPI",{"type":15,"tag":16,"props":175,"children":176},{},[177],{"type":20,"value":178},"Excelファイルの読み込みと保存のAPI、およびワークシート内のデータやスタイルにアクセスするすべてのメソッドは、画面コンポーネントで使用されるものと一貫しています。",{"type":15,"tag":180,"props":181,"children":182},"ul",{},[183,265,284,297,310],{"type":15,"tag":184,"props":185,"children":186},"li",{},[187,189],{"type":20,"value":188},"ワークシート管理API",{"type":15,"tag":180,"props":190,"children":191},{},[192,211,229,247],{"type":15,"tag":184,"props":193,"children":194},{},[195,197,203,205],{"type":20,"value":196},"ワークシートの作成と追加メソッド：",{"type":15,"tag":55,"props":198,"children":200},{"className":199},[],[201],{"type":20,"value":202},"CreateWorksheet",{"type":20,"value":204},"、",{"type":15,"tag":55,"props":206,"children":208},{"className":207},[],[209],{"type":20,"value":210},"AddWorksheet",{"type":15,"tag":184,"props":212,"children":213},{},[214,216,222,223],{"type":20,"value":215},"ワークシートの挿入と削除メソッド：",{"type":15,"tag":55,"props":217,"children":219},{"className":218},[],[220],{"type":20,"value":221},"InsertWorksheet",{"type":20,"value":204},{"type":15,"tag":55,"props":224,"children":226},{"className":225},[],[227],{"type":20,"value":228},"RemoveWorksheet",{"type":15,"tag":184,"props":230,"children":231},{},[232,234,240,241],{"type":20,"value":233},"ワークシートのコピーと移動メソッド：",{"type":15,"tag":55,"props":235,"children":237},{"className":236},[],[238],{"type":20,"value":239},"CopyWorksheet",{"type":20,"value":204},{"type":15,"tag":55,"props":242,"children":244},{"className":243},[],[245],{"type":20,"value":246},"MoveWorksheet",{"type":15,"tag":184,"props":248,"children":249},{},[250,252,258,259],{"type":20,"value":251},"ワークシートの取得メソッド：",{"type":15,"tag":55,"props":253,"children":255},{"className":254},[],[256],{"type":20,"value":257},"GetWorksheetByName",{"type":20,"value":204},{"type":15,"tag":55,"props":260,"children":262},{"className":261},[],[263],{"type":20,"value":264},"GetWorksheetIndex",{"type":15,"tag":184,"props":266,"children":267},{},[268,274,276],{"type":15,"tag":55,"props":269,"children":271},{"className":270},[],[272],{"type":20,"value":273},"Worksheets",{"type":20,"value":275},"コレクション",{"type":15,"tag":180,"props":277,"children":278},{},[279],{"type":15,"tag":184,"props":280,"children":281},{},[282],{"type":20,"value":283},"ワークブック内のワークシートコレクションへのアクセス",{"type":15,"tag":184,"props":285,"children":286},{},[287,289],{"type":20,"value":288},"読み込みと保存の操作",{"type":15,"tag":180,"props":290,"children":291},{},[292],{"type":15,"tag":184,"props":293,"children":294},{},[295],{"type":20,"value":296},"テンプレートExcelファイルまたはRGFファイルの読み込みと保存機能",{"type":15,"tag":184,"props":298,"children":299},{},[300,302],{"type":20,"value":301},"ワークブックイベント",{"type":15,"tag":180,"props":303,"children":304},{},[305],{"type":15,"tag":184,"props":306,"children":307},{},[308],{"type":20,"value":309},"すべてのワークブック関連イベントへのアクセス",{"type":15,"tag":184,"props":311,"children":312},{},[313,315],{"type":20,"value":314},"内部操作例外通知",{"type":15,"tag":180,"props":316,"children":317},{},[318],{"type":15,"tag":184,"props":319,"children":320},{},[321],{"type":20,"value":322},"内部操作中に発生する例外の通知",{"type":15,"tag":168,"props":324,"children":326},{"id":325},"利用できないapi",[327],{"type":20,"value":328},"利用できないAPI",{"type":15,"tag":16,"props":330,"children":331},{},[332],{"type":20,"value":333},"メモリワークブックの特性上、一部のAPIはサポートされていません。",{"type":15,"tag":180,"props":335,"children":336},{},[337,363,376,389,418],{"type":15,"tag":184,"props":338,"children":339},{},[340,346,348],{"type":15,"tag":55,"props":341,"children":343},{"className":342},[],[344],{"type":20,"value":345},"CurrentWorksheet",{"type":20,"value":347},"プロパティ\n",{"type":15,"tag":180,"props":349,"children":350},{},[351],{"type":15,"tag":184,"props":352,"children":353},{},[354,356,361],{"type":20,"value":355},"メモリワークブックには複数のワークシートを切り替えるシートタブがないため、「現在アクティブなワークシート」の概念は適用されません。ワークシートは、ワークブックオブジェクトの",{"type":15,"tag":55,"props":357,"children":359},{"className":358},[],[360],{"type":20,"value":273},{"type":20,"value":362},"コレクションプロパティ経由でアクセスする必要があります。",{"type":15,"tag":184,"props":364,"children":365},{},[366,368],{"type":20,"value":367},"スクロールメソッドとイベント\n",{"type":15,"tag":180,"props":369,"children":370},{},[371],{"type":15,"tag":184,"props":372,"children":373},{},[374],{"type":20,"value":375},"メモリワークブックにはスクロールバーコンポーネントが含まれていません。",{"type":15,"tag":184,"props":377,"children":378},{},[379,381],{"type":20,"value":380},"外観スタイル\n",{"type":15,"tag":180,"props":382,"children":383},{},[384],{"type":15,"tag":184,"props":385,"children":386},{},[387],{"type":20,"value":388},"メモリワークブックには外観スタイルはありません。",{"type":15,"tag":184,"props":390,"children":391},{},[392,394],{"type":20,"value":393},"UI関連メソッド\n",{"type":15,"tag":180,"props":395,"children":396},{},[397],{"type":15,"tag":184,"props":398,"children":399},{},[400,402,408,410,416],{"type":20,"value":401},"メモリワークブックにはグラフィックスオブジェクトがないため、テキスト、グラフィックス、その他のUI要素に関連するメソッドは利用できません。これには、グラフィカル情報を必要とする",{"type":15,"tag":55,"props":403,"children":405},{"className":404},[],[406],{"type":20,"value":407},"FitWidthToCells",{"type":20,"value":409},"や",{"type":15,"tag":55,"props":411,"children":413},{"className":412},[],[414],{"type":20,"value":415},"FitHeightToCells",{"type":20,"value":417},"などのメソッドが含まれます。",{"type":15,"tag":184,"props":419,"children":420},{},[421,423],{"type":20,"value":422},"アクション関連メソッド\n",{"type":15,"tag":180,"props":424,"children":425},{},[426],{"type":15,"tag":184,"props":427,"children":428},{},[429,435,436,442,443,449,450,456],{"type":15,"tag":55,"props":430,"children":432},{"className":431},[],[433],{"type":20,"value":434},"DoAction",{"type":20,"value":204},{"type":15,"tag":55,"props":437,"children":439},{"className":438},[],[440],{"type":20,"value":441},"Undo",{"type":20,"value":204},{"type":15,"tag":55,"props":444,"children":446},{"className":445},[],[447],{"type":20,"value":448},"Redo",{"type":20,"value":204},{"type":15,"tag":55,"props":451,"children":453},{"className":452},[],[454],{"type":20,"value":455},"RepeatLastAction",{"type":20,"value":457},"などのアクション実行メソッドは利用できません。メモリワークブック上のすべての操作は即座に実行され、元に戻すことはできません。",{"type":15,"tag":459,"props":460,"children":462},"h2",{"id":461},"webアプリケーションでのメモリワークブックの活用",[463],{"type":20,"value":464},"Webアプリケーションでのメモリワークブックの活用",{"type":15,"tag":16,"props":466,"children":467},{},[468],{"type":20,"value":469},"Webアプリケーションでは、ReoGridメモリワークブックは、Webクライアントからアップロードされたスプレッドシートデータの処理や、ダウンロード用のExcelファイルの生成に最適です。",{"type":15,"tag":16,"props":471,"children":472},{},[473],{"type":15,"tag":25,"props":474,"children":477},{"alt":475,"src":476},"344","/document/images/344.png",[],{"type":15,"tag":168,"props":479,"children":481},{"id":480},"例excelファイルの作成とダウンロード",[482],{"type":20,"value":483},"例：Excelファイルの作成とダウンロード",{"type":15,"tag":16,"props":485,"children":486},{},[487],{"type":20,"value":488},"ASP.NETアプリケーションでは、以下のコードスニペットをページクラス内に実装して、Excelファイルを生成し、ユーザーにダウンロードを促すことができます。",{"type":15,"tag":48,"props":490,"children":492},{"className":50,"code":491,"language":52,"meta":7,"style":7},"protected void Page_Load(object sender, EventArgs e)\n{\n  // Create an instance of a memory workbook\n  var grid = ReoGridControl.CreateMemoryWorkbook();\n\n  // Access the first worksheet by default (a new workbook includes one empty worksheet)\n  var sheet1 = grid.Worksheets[0];\n\n  // Populate cell A1 with text\n  sheet1[\"A1\"] = \"Hello World\";\n\n  // Populate cells A2 to E2 with data and formulas\n  sheet1[\"A2\"] = new object[] {\n    10, // A2\n    20, // B2\n    \"=A2+B2\", // C2\n    \"=SUM(A2:C2)\", // D2\n  };\n\n  // Prepare the response for file download\n  Response.Clear();\n  Response.ContentType = \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n  Response.AddHeader(\"Content-Disposition\", \"attachment; filename=SampleData.xlsx\");\n\n  // Save the workbook to the response stream in Excel 2007 format\n  grid.Save(Response.OutputStream, unvell.ReoGrid.IO.FileFormat.Excel2007);\n\n  // Flush the response stream and end the response\n  Response.Flush();\n  Response.End();\n}\n",[493],{"type":15,"tag":55,"props":494,"children":495},{"__ignoreMap":7},[496,548,557,567,597,607,616,649,657,666,700,708,717,753,771,789,807,825,834,842,851,869,891,927,935,944,961,969,978,995,1012],{"type":15,"tag":59,"props":497,"children":498},{"class":61,"line":62},[499,504,509,514,518,523,528,533,538,543],{"type":15,"tag":59,"props":500,"children":501},{"style":66},[502],{"type":20,"value":503},"protected",{"type":15,"tag":59,"props":505,"children":506},{"style":66},[507],{"type":20,"value":508}," void",{"type":15,"tag":59,"props":510,"children":511},{"style":72},[512],{"type":20,"value":513}," Page_Load",{"type":15,"tag":59,"props":515,"children":516},{"style":83},[517],{"type":20,"value":155},{"type":15,"tag":59,"props":519,"children":520},{"style":66},[521],{"type":20,"value":522},"object",{"type":15,"tag":59,"props":524,"children":525},{"style":72},[526],{"type":20,"value":527}," sender",{"type":15,"tag":59,"props":529,"children":530},{"style":83},[531],{"type":20,"value":532},", ",{"type":15,"tag":59,"props":534,"children":535},{"style":72},[536],{"type":20,"value":537},"EventArgs",{"type":15,"tag":59,"props":539,"children":540},{"style":72},[541],{"type":20,"value":542}," e",{"type":15,"tag":59,"props":544,"children":545},{"style":83},[546],{"type":20,"value":547},")\n",{"type":15,"tag":59,"props":549,"children":551},{"class":61,"line":550},2,[552],{"type":15,"tag":59,"props":553,"children":554},{"style":83},[555],{"type":20,"value":556},"{\n",{"type":15,"tag":59,"props":558,"children":560},{"class":61,"line":559},3,[561],{"type":15,"tag":59,"props":562,"children":564},{"style":563},"--shiki-light:#6A737D;--shiki-dark:#6A737D;--shiki-default:#6A737D",[565],{"type":20,"value":566},"  // Create an instance of a memory workbook\n",{"type":15,"tag":59,"props":568,"children":570},{"class":61,"line":569},4,[571,576,581,585,589,593],{"type":15,"tag":59,"props":572,"children":573},{"style":66},[574],{"type":20,"value":575},"  var",{"type":15,"tag":59,"props":577,"children":578},{"style":72},[579],{"type":20,"value":580}," grid",{"type":15,"tag":59,"props":582,"children":583},{"style":66},[584],{"type":20,"value":80},{"type":15,"tag":59,"props":586,"children":587},{"style":83},[588],{"type":20,"value":86},{"type":15,"tag":59,"props":590,"children":591},{"style":72},[592],{"type":20,"value":91},{"type":15,"tag":59,"props":594,"children":595},{"style":83},[596],{"type":20,"value":96},{"type":15,"tag":59,"props":598,"children":600},{"class":61,"line":599},5,[601],{"type":15,"tag":59,"props":602,"children":604},{"emptyLinePlaceholder":603},true,[605],{"type":20,"value":606},"\n",{"type":15,"tag":59,"props":608,"children":610},{"class":61,"line":609},6,[611],{"type":15,"tag":59,"props":612,"children":613},{"style":563},[614],{"type":20,"value":615},"  // Access the first worksheet by default (a new workbook includes one empty worksheet)\n",{"type":15,"tag":59,"props":617,"children":619},{"class":61,"line":618},7,[620,624,629,633,638,644],{"type":15,"tag":59,"props":621,"children":622},{"style":66},[623],{"type":20,"value":575},{"type":15,"tag":59,"props":625,"children":626},{"style":72},[627],{"type":20,"value":628}," sheet1",{"type":15,"tag":59,"props":630,"children":631},{"style":66},[632],{"type":20,"value":80},{"type":15,"tag":59,"props":634,"children":635},{"style":83},[636],{"type":20,"value":637}," grid.Worksheets[",{"type":15,"tag":59,"props":639,"children":641},{"style":640},"--shiki-light:#005CC5;--shiki-dark:#79B8FF;--shiki-default:#005CC5",[642],{"type":20,"value":643},"0",{"type":15,"tag":59,"props":645,"children":646},{"style":83},[647],{"type":20,"value":648},"];\n",{"type":15,"tag":59,"props":650,"children":652},{"class":61,"line":651},8,[653],{"type":15,"tag":59,"props":654,"children":655},{"emptyLinePlaceholder":603},[656],{"type":20,"value":606},{"type":15,"tag":59,"props":658,"children":660},{"class":61,"line":659},9,[661],{"type":15,"tag":59,"props":662,"children":663},{"style":563},[664],{"type":20,"value":665},"  // Populate cell A1 with text\n",{"type":15,"tag":59,"props":667,"children":669},{"class":61,"line":668},10,[670,675,680,685,690,695],{"type":15,"tag":59,"props":671,"children":672},{"style":83},[673],{"type":20,"value":674},"  sheet1[",{"type":15,"tag":59,"props":676,"children":677},{"style":158},[678],{"type":20,"value":679},"\"A1\"",{"type":15,"tag":59,"props":681,"children":682},{"style":83},[683],{"type":20,"value":684},"] ",{"type":15,"tag":59,"props":686,"children":687},{"style":66},[688],{"type":20,"value":689},"=",{"type":15,"tag":59,"props":691,"children":692},{"style":158},[693],{"type":20,"value":694}," \"Hello World\"",{"type":15,"tag":59,"props":696,"children":697},{"style":83},[698],{"type":20,"value":699},";\n",{"type":15,"tag":59,"props":701,"children":703},{"class":61,"line":702},11,[704],{"type":15,"tag":59,"props":705,"children":706},{"emptyLinePlaceholder":603},[707],{"type":20,"value":606},{"type":15,"tag":59,"props":709,"children":711},{"class":61,"line":710},12,[712],{"type":15,"tag":59,"props":713,"children":714},{"style":563},[715],{"type":20,"value":716},"  // Populate cells A2 to E2 with data and formulas\n",{"type":15,"tag":59,"props":718,"children":720},{"class":61,"line":719},13,[721,725,730,734,738,743,748],{"type":15,"tag":59,"props":722,"children":723},{"style":83},[724],{"type":20,"value":674},{"type":15,"tag":59,"props":726,"children":727},{"style":158},[728],{"type":20,"value":729},"\"A2\"",{"type":15,"tag":59,"props":731,"children":732},{"style":83},[733],{"type":20,"value":684},{"type":15,"tag":59,"props":735,"children":736},{"style":66},[737],{"type":20,"value":689},{"type":15,"tag":59,"props":739,"children":740},{"style":66},[741],{"type":20,"value":742}," new",{"type":15,"tag":59,"props":744,"children":745},{"style":66},[746],{"type":20,"value":747}," object",{"type":15,"tag":59,"props":749,"children":750},{"style":83},[751],{"type":20,"value":752},"[] {\n",{"type":15,"tag":59,"props":754,"children":756},{"class":61,"line":755},14,[757,762,766],{"type":15,"tag":59,"props":758,"children":759},{"style":640},[760],{"type":20,"value":761},"    10",{"type":15,"tag":59,"props":763,"children":764},{"style":83},[765],{"type":20,"value":532},{"type":15,"tag":59,"props":767,"children":768},{"style":563},[769],{"type":20,"value":770},"// A2\n",{"type":15,"tag":59,"props":772,"children":774},{"class":61,"line":773},15,[775,780,784],{"type":15,"tag":59,"props":776,"children":777},{"style":640},[778],{"type":20,"value":779},"    20",{"type":15,"tag":59,"props":781,"children":782},{"style":83},[783],{"type":20,"value":532},{"type":15,"tag":59,"props":785,"children":786},{"style":563},[787],{"type":20,"value":788},"// B2\n",{"type":15,"tag":59,"props":790,"children":792},{"class":61,"line":791},16,[793,798,802],{"type":15,"tag":59,"props":794,"children":795},{"style":158},[796],{"type":20,"value":797},"    \"=A2+B2\"",{"type":15,"tag":59,"props":799,"children":800},{"style":83},[801],{"type":20,"value":532},{"type":15,"tag":59,"props":803,"children":804},{"style":563},[805],{"type":20,"value":806},"// C2\n",{"type":15,"tag":59,"props":808,"children":810},{"class":61,"line":809},17,[811,816,820],{"type":15,"tag":59,"props":812,"children":813},{"style":158},[814],{"type":20,"value":815},"    \"=SUM(A2:C2)\"",{"type":15,"tag":59,"props":817,"children":818},{"style":83},[819],{"type":20,"value":532},{"type":15,"tag":59,"props":821,"children":822},{"style":563},[823],{"type":20,"value":824},"// D2\n",{"type":15,"tag":59,"props":826,"children":828},{"class":61,"line":827},18,[829],{"type":15,"tag":59,"props":830,"children":831},{"style":83},[832],{"type":20,"value":833},"  };\n",{"type":15,"tag":59,"props":835,"children":837},{"class":61,"line":836},19,[838],{"type":15,"tag":59,"props":839,"children":840},{"emptyLinePlaceholder":603},[841],{"type":20,"value":606},{"type":15,"tag":59,"props":843,"children":845},{"class":61,"line":844},20,[846],{"type":15,"tag":59,"props":847,"children":848},{"style":563},[849],{"type":20,"value":850},"  // Prepare the response for file download\n",{"type":15,"tag":59,"props":852,"children":854},{"class":61,"line":853},21,[855,860,865],{"type":15,"tag":59,"props":856,"children":857},{"style":83},[858],{"type":20,"value":859},"  Response.",{"type":15,"tag":59,"props":861,"children":862},{"style":72},[863],{"type":20,"value":864},"Clear",{"type":15,"tag":59,"props":866,"children":867},{"style":83},[868],{"type":20,"value":96},{"type":15,"tag":59,"props":870,"children":872},{"class":61,"line":871},22,[873,878,882,887],{"type":15,"tag":59,"props":874,"children":875},{"style":83},[876],{"type":20,"value":877},"  Response.ContentType ",{"type":15,"tag":59,"props":879,"children":880},{"style":66},[881],{"type":20,"value":689},{"type":15,"tag":59,"props":883,"children":884},{"style":158},[885],{"type":20,"value":886}," \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"",{"type":15,"tag":59,"props":888,"children":889},{"style":83},[890],{"type":20,"value":699},{"type":15,"tag":59,"props":892,"children":894},{"class":61,"line":893},23,[895,899,904,908,913,917,922],{"type":15,"tag":59,"props":896,"children":897},{"style":83},[898],{"type":20,"value":859},{"type":15,"tag":59,"props":900,"children":901},{"style":72},[902],{"type":20,"value":903},"AddHeader",{"type":15,"tag":59,"props":905,"children":906},{"style":83},[907],{"type":20,"value":155},{"type":15,"tag":59,"props":909,"children":910},{"style":158},[911],{"type":20,"value":912},"\"Content-Disposition\"",{"type":15,"tag":59,"props":914,"children":915},{"style":83},[916],{"type":20,"value":532},{"type":15,"tag":59,"props":918,"children":919},{"style":158},[920],{"type":20,"value":921},"\"attachment; filename=SampleData.xlsx\"",{"type":15,"tag":59,"props":923,"children":924},{"style":83},[925],{"type":20,"value":926},");\n",{"type":15,"tag":59,"props":928,"children":930},{"class":61,"line":929},24,[931],{"type":15,"tag":59,"props":932,"children":933},{"emptyLinePlaceholder":603},[934],{"type":20,"value":606},{"type":15,"tag":59,"props":936,"children":938},{"class":61,"line":937},25,[939],{"type":15,"tag":59,"props":940,"children":941},{"style":563},[942],{"type":20,"value":943},"  // Save the workbook to the response stream in Excel 2007 format\n",{"type":15,"tag":59,"props":945,"children":947},{"class":61,"line":946},26,[948,953,957],{"type":15,"tag":59,"props":949,"children":950},{"style":83},[951],{"type":20,"value":952},"  grid.",{"type":15,"tag":59,"props":954,"children":955},{"style":72},[956],{"type":20,"value":121},{"type":15,"tag":59,"props":958,"children":959},{"style":83},[960],{"type":20,"value":126},{"type":15,"tag":59,"props":962,"children":964},{"class":61,"line":963},27,[965],{"type":15,"tag":59,"props":966,"children":967},{"emptyLinePlaceholder":603},[968],{"type":20,"value":606},{"type":15,"tag":59,"props":970,"children":972},{"class":61,"line":971},28,[973],{"type":15,"tag":59,"props":974,"children":975},{"style":563},[976],{"type":20,"value":977},"  // Flush the response stream and end the response\n",{"type":15,"tag":59,"props":979,"children":981},{"class":61,"line":980},29,[982,986,991],{"type":15,"tag":59,"props":983,"children":984},{"style":83},[985],{"type":20,"value":859},{"type":15,"tag":59,"props":987,"children":988},{"style":72},[989],{"type":20,"value":990},"Flush",{"type":15,"tag":59,"props":992,"children":993},{"style":83},[994],{"type":20,"value":96},{"type":15,"tag":59,"props":996,"children":998},{"class":61,"line":997},30,[999,1003,1008],{"type":15,"tag":59,"props":1000,"children":1001},{"style":83},[1002],{"type":20,"value":859},{"type":15,"tag":59,"props":1004,"children":1005},{"style":72},[1006],{"type":20,"value":1007},"End",{"type":15,"tag":59,"props":1009,"children":1010},{"style":83},[1011],{"type":20,"value":96},{"type":15,"tag":59,"props":1013,"children":1015},{"class":61,"line":1014},31,[1016],{"type":15,"tag":59,"props":1017,"children":1018},{"style":83},[1019],{"type":20,"value":1020},"}\n",{"type":15,"tag":1022,"props":1023,"children":1024},"style",{},[1025],{"type":20,"value":1026},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":550,"depth":550,"links":1028},[1029,1030,1031],{"id":170,"depth":559,"text":173},{"id":325,"depth":559,"text":328},{"id":461,"depth":550,"text":464,"children":1032},[1033],{"id":480,"depth":559,"text":483},"markdown","content:document:15.advanced:2.memory-workbook.md","content","document/15.advanced/2.memory-workbook.md","document/15.advanced/2.memory-workbook","md",{"loc":4},[1042,1365,1368,1371,1374,1377,1380,1383,1386],{"title":1043,"_path":1044,"children":1045},"Document","/document",[1046,1057,1062,1094,1111,1140,1172,1192,1206,1229,1240,1256,1279,1290,1310,1328,1357],{"title":1047,"_path":1048,"children":1049},"はじめに","/document/getting-started",[1050,1051,1054],{"title":1047,"_path":1048},{"title":1052,"_path":1053},"インストール","/document/getting-started/installation",{"title":1055,"_path":1056},"V3 から V4 への移行ガイド","/document/getting-started/migrate-from-v3",{"title":1058,"_path":1059,"children":1060},"ワークブック","/document/workbook",[1061],{"title":1058,"_path":1059},{"title":1063,"_path":1064,"children":1065},"ワークシート","/document/worksheet",[1066,1067,1070,1073,1076,1079,1082,1085,1088,1091],{"title":1063,"_path":1064},{"title":1068,"_path":1069},"行、列、ヘッダー","/document/worksheet/row-and-column",{"title":1071,"_path":1072},"範囲","/document/worksheet/range",{"title":1074,"_path":1075},"名前付き範囲","/document/worksheet/named-range",{"title":1077,"_path":1078},"セルの結合と解除","/document/worksheet/merge-and-unmerge",{"title":1080,"_path":1081},"パーシャルグリッド","/document/worksheet/partial-grid",{"title":1083,"_path":1084},"複数行ヘッダー","/document/worksheet/multiple-row-header",{"title":1086,"_path":1087},"ウィンドウ枠の固定","/document/worksheet/freeze",{"title":1089,"_path":1090},"ズーム","/document/worksheet/zoom",{"title":1092,"_path":1093},"設定とオプション","/document/worksheet/settings",{"title":1095,"_path":1096,"children":1097},"選択とナビゲーション","/document/selection",[1098,1099,1102,1105,1108],{"title":1095,"_path":1096},{"title":1100,"_path":1101},"フォーカスと選択","/document/selection/selection",{"title":1103,"_path":1104},"範囲の選択","/document/selection/pick-range",{"title":1106,"_path":1107},"クリップボード","/document/selection/clipboard",{"title":1109,"_path":1110},"テキスト検索","/document/selection/text-search",{"title":1112,"_path":1113,"children":1114},"データ管理","/document/data",[1115,1116,1119,1122,1125,1128,1131,1134,1137],{"title":1112,"_path":1113},{"title":1117,"_path":1118},"データソース","/document/data/datasource",{"title":1120,"_path":1121},"データフィルタリング","/document/data/data-filtering",{"title":1123,"_path":1124},"組み込みオートフィルター","/document/data/builtin-autofilter",{"title":1126,"_path":1127},"条件付きフィルター","/document/data/conditional-filter",{"title":1129,"_path":1130},"条件付きスタイル","/document/data/conditional-styles",{"title":1132,"_path":1133},"グループとアウトライン","/document/data/group-and-outline",{"title":1135,"_path":1136},"データバリデーション","/document/data/data-validation",{"title":1138,"_path":1139},"保護とロック","/document/data/protection",{"title":1141,"_path":1142,"children":1143},"セル","/document/cell",[1144,1145,1148,1151,1154,1157,1160,1163,1166,1169],{"title":1141,"_path":1142},{"title":1146,"_path":1147},"セルの編集","/document/cell/cell-edit",{"title":1149,"_path":1150},"スタイル","/document/cell/style",{"title":1152,"_path":1153},"罫線","/document/cell/border",{"title":1155,"_path":1156},"データ書式","/document/cell/data-format",{"title":1158,"_path":1159},"カスタムデータフォーマッター","/document/cell/custom-data-formatter",{"title":1161,"_path":1162},"データ連続入力","/document/cell/auto-fill",{"title":1164,"_path":1165},"リッチフォーマットテキスト","/document/cell/rich-format-text",{"title":1167,"_path":1168},"セルテキストの回転","/document/cell/rotate-cell-text",{"title":1170,"_path":1171},"セルの反復処理","/document/cell/iterate-cells",{"title":1173,"_path":1174,"children":1175},"セルタイプ","/document/cell-types",[1176,1177,1180,1183,1186,1189],{"title":1173,"_path":1174},{"title":1178,"_path":1179},"組み込みセルタイプ","/document/cell-types/built-in-cell-types",{"title":1181,"_path":1182},"カスタムセル","/document/cell-types/custom-cell",{"title":1184,"_path":1185},"ドロップダウンリストセル","/document/cell-types/dropdown-list-cell",{"title":1187,"_path":1188},"コンボリストセル","/document/cell-types/combo-list-cell",{"title":1190,"_path":1191},"列全体のセルタイプ","/document/cell-types/cells-type-for-entire-column",{"title":1193,"_path":1194,"children":1195},"数式","/document/formula",[1196,1197,1200,1203],{"title":1193,"_path":1194},{"title":1198,"_path":1199},"カスタム関数","/document/formula/custom-function",{"title":1201,"_path":1202},"数式関数","/document/formula/formula-functions",{"title":1204,"_path":1205},"VLOOKUP","/document/formula/vlookup",{"title":1207,"_path":1208,"children":1209},"チャート","/document/chart",[1210,1211,1214,1217,1220,1223,1226],{"title":1207,"_path":1208},{"title":1212,"_path":1213},"縦棒グラフ","/document/chart/column-chart",{"title":1215,"_path":1216},"横棒グラフ","/document/chart/bar-chart",{"title":1218,"_path":1219},"折れ線グラフ","/document/chart/line-chart",{"title":1221,"_path":1222},"面グラフ","/document/chart/area-chart",{"title":1224,"_path":1225},"2D円グラフ","/document/chart/pie-2d-chart",{"title":1227,"_path":1228},"ドーナツグラフ","/document/chart/doughnut-chart",{"title":1230,"_path":1231,"children":1232},"フローティングオブジェクト","/document/floating",[1233,1234,1237],{"title":1230,"_path":1231},{"title":1235,"_path":1236},"描画シェイプ","/document/floating/drawing-shapes",{"title":1238,"_path":1239},"フローティング画像","/document/floating/floating-image",{"title":1241,"_path":1242,"children":1243},"イベント","/document/events",[1244,1245,1247,1250,1253],{"title":1241,"_path":1242},{"title":1241,"_path":1246},"/document/events/events",{"title":1248,"_path":1249},"キーボードイベント","/document/events/keyboard-events",{"title":1251,"_path":1252},"マウスイベント","/document/events/mouse-events",{"title":1254,"_path":1255},"SelectionRangeChanged","/document/events/selection-events",{"title":1257,"_path":1258,"children":1259},"カスタマイズ","/document/customization",[1260,1261,1264,1267,1270,1273,1276],{"title":1257,"_path":1258},{"title":1262,"_path":1263},"コントロールの外観","/document/customization/control-appearance",{"title":1265,"_path":1266},"シートタブコントロール","/document/customization/sheet-tab-control",{"title":1268,"_path":1269},"使用可能なホットキー","/document/customization/hot-keys",{"title":1271,"_path":1272},"言語ローカライズ","/document/customization/language-localization",{"title":1274,"_path":1275},"アドレスバーと数式バー","/document/customization/formula-bar",{"title":1277,"_path":1278},"ReoGridEditor","/document/customization/editor",{"title":1280,"_path":1281,"children":1282},"アクション","/document/actions",[1283,1284,1287],{"title":1280,"_path":1281},{"title":1285,"_path":1286},"ReoGridアクションフレームワーク","/document/actions/actions",{"title":1288,"_path":1289},"組み込みワークシートアクション","/document/actions/built-in-actions",{"title":1291,"_path":1292,"children":1293},"ファイル形式","/document/io",[1294,1295,1298,1301,1304,1307],{"title":1291,"_path":1292},{"title":1296,"_path":1297},"Excelファイル形式 (xlsx)","/document/io/excel-file-format",{"title":1299,"_path":1300},"CSV形式","/document/io/csv-format",{"title":1302,"_path":1303},"RGF形式","/document/io/rgf-format",{"title":1305,"_path":1306},"Excel形式とRGF形式の違い","/document/io/difference-between-excel-and-rgf-format",{"title":1308,"_path":1309},"HTMLとしてエクスポート","/document/io/export-as-html",{"title":1311,"_path":1312,"children":1313},"高度な機能","/document/advanced",[1314,1315,1316,1319,1322,1325],{"title":1311,"_path":1312},{"title":8,"_path":4},{"title":1317,"_path":1318},"ページングと印刷","/document/advanced/paging-and-print",{"title":1320,"_path":1321},"コントロールのリセット","/document/advanced/reset-control",{"title":1323,"_path":1324},"パフォーマンス","/document/advanced/performance",{"title":1326,"_path":1327},"設定","/document/advanced/settings",{"title":1329,"_path":1330,"children":1331},"ハウツーガイド","/document/how-to",[1332,1333,1336,1339,1342,1345,1348,1351,1354],{"title":1329,"_path":1330},{"title":1334,"_path":1335},"ReoGridの推奨プラクティス","/document/how-to/recommended-practice-for-using-reogrid",{"title":1337,"_path":1338},"DataTableでスプレッドシートを埋める","/document/how-to/fill-grid-with-datatable",{"title":1340,"_path":1341},"遅延読み込みモードによる大量データの高速読み込み","/document/how-to/fast-load-large-data-with-lazy-load-mode",{"title":1343,"_path":1344},"カスタムドロップダウンセルの作成","/document/how-to/create-custom-drop-down-cell",{"title":1346,"_path":1347},"日付ピッカーセルの作成","/document/how-to/create-date-picker-cell",{"title":1349,"_path":1350},"Excelファイルからすべての画像を読み取る","/document/how-to/read-all-images-from-excel-file",{"title":1352,"_path":1353},"VB.NETでReoGridを使用するためのヒント","/document/how-to/use-reogrid-in-vb-net",{"title":1355,"_path":1356},"全選択チェックボックスヘッダーの作成","/document/how-to/create-select-all-checkbox-header",{"title":1358,"_path":1359,"children":1360},"トラブルシューティング","/document/troubleshooting",[1361,1362],{"title":1358,"_path":1359},{"title":1363,"_path":1364},"PInvoke例外の修正","/document/troubleshooting/fix-pinvoke-exception",{"title":1366,"_path":1367},"エディション・機能一覧","/editions-features",{"title":1369,"_path":1370},"個人情報保護方針","/privacy-policy",{"title":1372,"_path":1373},"動作環境","/requirements",{"title":1375,"_path":1376},"ReoGrid利用許諾契約書","/terms",{"title":1378,"_path":1379},"ReoGrid利用許諾契約書(Ver.3)","/terms-v3",{"title":1381,"_path":1382},"ReoGrid利用許諾契約書(Ver.4)","/terms-v4",{"title":1384,"_path":1385},"ReoGrid 4 トライアルライセンスポリシー","/terms-v4-trial",{"title":1387,"_path":1388},"ReoGrid Web Edition 利用許諾契約書","/terms-web",1786025060250]