[{"data":1,"prerenderedAt":713},["ShallowReactive",2],{"content-query-genGtlSUeB":3,"navigation":365},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"body":11,"_type":358,"_id":359,"_source":360,"_file":361,"_stem":362,"_extension":363,"sitemap":364},"/document/how-to/read-all-images-from-excel-file","how-to",false,"","Excelファイルからすべての画像を読み取る","Excelファイルに含まれる画像は以下のようになります。\n","2015-09-12",{"type":12,"children":13,"toc":356},"root",[14,27,32,77,82,123,136,350],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,21],{"type":20,"value":9},"text",{"type":15,"tag":22,"props":23,"children":26},"img",{"alt":24,"src":25},"284","/document/images/284.png",[],{"type":15,"tag":16,"props":28,"children":29},{},[30],{"type":20,"value":31},"Excelファイルから画像を読み取るには、まずReoGridワークブックを使用してファイルを開きます。",{"type":15,"tag":33,"props":34,"children":38},"pre",{"className":35,"code":36,"language":37,"meta":7,"style":7},"language-cs shiki shiki-themes github-light github-dark github-light","reoGridControl.Load(@\"MyPath\\Excel\\welcome-089.xlsx\");\n","cs",[39],{"type":15,"tag":40,"props":41,"children":42},"code",{"__ignoreMap":7},[43],{"type":15,"tag":44,"props":45,"children":48},"span",{"class":46,"line":47},"line",1,[49,55,61,66,72],{"type":15,"tag":44,"props":50,"children":52},{"style":51},"--shiki-light:#24292E;--shiki-dark:#E1E4E8;--shiki-default:#24292E",[53],{"type":20,"value":54},"reoGridControl.",{"type":15,"tag":44,"props":56,"children":58},{"style":57},"--shiki-light:#6F42C1;--shiki-dark:#B392F0;--shiki-default:#6F42C1",[59],{"type":20,"value":60},"Load",{"type":15,"tag":44,"props":62,"children":63},{"style":51},[64],{"type":20,"value":65},"(",{"type":15,"tag":44,"props":67,"children":69},{"style":68},"--shiki-light:#032F62;--shiki-dark:#9ECBFF;--shiki-default:#032F62",[70],{"type":20,"value":71},"@\"MyPath\\Excel\\welcome-089.xlsx\"",{"type":15,"tag":44,"props":73,"children":74},{"style":51},[75],{"type":20,"value":76},");\n",{"type":15,"tag":16,"props":78,"children":79},{},[80],{"type":20,"value":81},"画像を含むワークシートのインスタンスを取得します。",{"type":15,"tag":33,"props":83,"children":85},{"className":35,"code":84,"language":37,"meta":7,"style":7},"var worksheet = reoGridControl.Worksheets[\"Sheet1\"];\n",[86],{"type":15,"tag":40,"props":87,"children":88},{"__ignoreMap":7},[89],{"type":15,"tag":44,"props":90,"children":91},{"class":46,"line":47},[92,98,103,108,113,118],{"type":15,"tag":44,"props":93,"children":95},{"style":94},"--shiki-light:#D73A49;--shiki-dark:#F97583;--shiki-default:#D73A49",[96],{"type":20,"value":97},"var",{"type":15,"tag":44,"props":99,"children":100},{"style":57},[101],{"type":20,"value":102}," worksheet",{"type":15,"tag":44,"props":104,"children":105},{"style":94},[106],{"type":20,"value":107}," =",{"type":15,"tag":44,"props":109,"children":110},{"style":51},[111],{"type":20,"value":112}," reoGridControl.Worksheets[",{"type":15,"tag":44,"props":114,"children":115},{"style":68},[116],{"type":20,"value":117},"\"Sheet1\"",{"type":15,"tag":44,"props":119,"children":120},{"style":51},[121],{"type":20,"value":122},"];\n",{"type":15,"tag":16,"props":124,"children":125},{},[126,128,134],{"type":20,"value":127},"ワークシートの",{"type":15,"tag":40,"props":129,"children":131},{"className":130},[],[132],{"type":20,"value":133},"FloatingObjects",{"type":20,"value":135},"プロパティにアクセスして、ワークシート上のすべてのフローティングオブジェクトを反復処理します。",{"type":15,"tag":33,"props":137,"children":139},{"className":35,"code":138,"language":37,"meta":7,"style":7},"foreach (var floatingObject in worksheet.FloatingObjects)\n{\n  // check whether or not the floating object is an image\n  if (floatingObject is Drawing.ImageObject)\n  {\n    var imageObject = (Drawing.ImageObject)floatingObject;\n\n    var image = imageObject.Image;\n    // process the image\n    // ...\n  }\n}\n",[140],{"type":15,"tag":40,"props":141,"children":142},{"__ignoreMap":7},[143,175,184,194,233,242,282,292,314,323,332,341],{"type":15,"tag":44,"props":144,"children":145},{"class":46,"line":47},[146,151,156,160,165,170],{"type":15,"tag":44,"props":147,"children":148},{"style":94},[149],{"type":20,"value":150},"foreach",{"type":15,"tag":44,"props":152,"children":153},{"style":51},[154],{"type":20,"value":155}," (",{"type":15,"tag":44,"props":157,"children":158},{"style":94},[159],{"type":20,"value":97},{"type":15,"tag":44,"props":161,"children":162},{"style":57},[163],{"type":20,"value":164}," floatingObject",{"type":15,"tag":44,"props":166,"children":167},{"style":94},[168],{"type":20,"value":169}," in",{"type":15,"tag":44,"props":171,"children":172},{"style":51},[173],{"type":20,"value":174}," worksheet.FloatingObjects)\n",{"type":15,"tag":44,"props":176,"children":178},{"class":46,"line":177},2,[179],{"type":15,"tag":44,"props":180,"children":181},{"style":51},[182],{"type":20,"value":183},"{\n",{"type":15,"tag":44,"props":185,"children":187},{"class":46,"line":186},3,[188],{"type":15,"tag":44,"props":189,"children":191},{"style":190},"--shiki-light:#6A737D;--shiki-dark:#6A737D;--shiki-default:#6A737D",[192],{"type":20,"value":193},"  // check whether or not the floating object is an image\n",{"type":15,"tag":44,"props":195,"children":197},{"class":46,"line":196},4,[198,203,208,213,218,223,228],{"type":15,"tag":44,"props":199,"children":200},{"style":94},[201],{"type":20,"value":202},"  if",{"type":15,"tag":44,"props":204,"children":205},{"style":51},[206],{"type":20,"value":207}," (floatingObject ",{"type":15,"tag":44,"props":209,"children":210},{"style":94},[211],{"type":20,"value":212},"is",{"type":15,"tag":44,"props":214,"children":215},{"style":57},[216],{"type":20,"value":217}," Drawing",{"type":15,"tag":44,"props":219,"children":220},{"style":51},[221],{"type":20,"value":222},".",{"type":15,"tag":44,"props":224,"children":225},{"style":57},[226],{"type":20,"value":227},"ImageObject",{"type":15,"tag":44,"props":229,"children":230},{"style":51},[231],{"type":20,"value":232},")\n",{"type":15,"tag":44,"props":234,"children":236},{"class":46,"line":235},5,[237],{"type":15,"tag":44,"props":238,"children":239},{"style":51},[240],{"type":20,"value":241},"  {\n",{"type":15,"tag":44,"props":243,"children":245},{"class":46,"line":244},6,[246,251,256,260,264,269,273,277],{"type":15,"tag":44,"props":247,"children":248},{"style":94},[249],{"type":20,"value":250},"    var",{"type":15,"tag":44,"props":252,"children":253},{"style":57},[254],{"type":20,"value":255}," imageObject",{"type":15,"tag":44,"props":257,"children":258},{"style":94},[259],{"type":20,"value":107},{"type":15,"tag":44,"props":261,"children":262},{"style":51},[263],{"type":20,"value":155},{"type":15,"tag":44,"props":265,"children":266},{"style":57},[267],{"type":20,"value":268},"Drawing",{"type":15,"tag":44,"props":270,"children":271},{"style":51},[272],{"type":20,"value":222},{"type":15,"tag":44,"props":274,"children":275},{"style":57},[276],{"type":20,"value":227},{"type":15,"tag":44,"props":278,"children":279},{"style":51},[280],{"type":20,"value":281},")floatingObject;\n",{"type":15,"tag":44,"props":283,"children":285},{"class":46,"line":284},7,[286],{"type":15,"tag":44,"props":287,"children":289},{"emptyLinePlaceholder":288},true,[290],{"type":20,"value":291},"\n",{"type":15,"tag":44,"props":293,"children":295},{"class":46,"line":294},8,[296,300,305,309],{"type":15,"tag":44,"props":297,"children":298},{"style":94},[299],{"type":20,"value":250},{"type":15,"tag":44,"props":301,"children":302},{"style":57},[303],{"type":20,"value":304}," image",{"type":15,"tag":44,"props":306,"children":307},{"style":94},[308],{"type":20,"value":107},{"type":15,"tag":44,"props":310,"children":311},{"style":51},[312],{"type":20,"value":313}," imageObject.Image;\n",{"type":15,"tag":44,"props":315,"children":317},{"class":46,"line":316},9,[318],{"type":15,"tag":44,"props":319,"children":320},{"style":190},[321],{"type":20,"value":322},"    // process the image\n",{"type":15,"tag":44,"props":324,"children":326},{"class":46,"line":325},10,[327],{"type":15,"tag":44,"props":328,"children":329},{"style":190},[330],{"type":20,"value":331},"    // ...\n",{"type":15,"tag":44,"props":333,"children":335},{"class":46,"line":334},11,[336],{"type":15,"tag":44,"props":337,"children":338},{"style":51},[339],{"type":20,"value":340},"  }\n",{"type":15,"tag":44,"props":342,"children":344},{"class":46,"line":343},12,[345],{"type":15,"tag":44,"props":346,"children":347},{"style":51},[348],{"type":20,"value":349},"}\n",{"type":15,"tag":351,"props":352,"children":353},"style",{},[354],{"type":20,"value":355},"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":177,"depth":177,"links":357},[],"markdown","content:document:16.how-to:7.read-all-images-from-excel-file.md","content","document/16.how-to/7.read-all-images-from-excel-file.md","document/16.how-to/7.read-all-images-from-excel-file","md",{"loc":4},[366,689,692,695,698,701,704,707,710],{"title":367,"_path":368,"children":369},"Document","/document",[370,381,386,418,435,464,496,516,530,553,564,580,603,614,634,654,681],{"title":371,"_path":372,"children":373},"はじめに","/document/getting-started",[374,375,378],{"title":371,"_path":372},{"title":376,"_path":377},"インストール","/document/getting-started/installation",{"title":379,"_path":380},"V3 から V4 への移行ガイド","/document/getting-started/migrate-from-v3",{"title":382,"_path":383,"children":384},"ワークブック","/document/workbook",[385],{"title":382,"_path":383},{"title":387,"_path":388,"children":389},"ワークシート","/document/worksheet",[390,391,394,397,400,403,406,409,412,415],{"title":387,"_path":388},{"title":392,"_path":393},"行、列、ヘッダー","/document/worksheet/row-and-column",{"title":395,"_path":396},"範囲","/document/worksheet/range",{"title":398,"_path":399},"名前付き範囲","/document/worksheet/named-range",{"title":401,"_path":402},"セルの結合と解除","/document/worksheet/merge-and-unmerge",{"title":404,"_path":405},"パーシャルグリッド","/document/worksheet/partial-grid",{"title":407,"_path":408},"複数行ヘッダー","/document/worksheet/multiple-row-header",{"title":410,"_path":411},"ウィンドウ枠の固定","/document/worksheet/freeze",{"title":413,"_path":414},"ズーム","/document/worksheet/zoom",{"title":416,"_path":417},"設定とオプション","/document/worksheet/settings",{"title":419,"_path":420,"children":421},"選択とナビゲーション","/document/selection",[422,423,426,429,432],{"title":419,"_path":420},{"title":424,"_path":425},"フォーカスと選択","/document/selection/selection",{"title":427,"_path":428},"範囲の選択","/document/selection/pick-range",{"title":430,"_path":431},"クリップボード","/document/selection/clipboard",{"title":433,"_path":434},"テキスト検索","/document/selection/text-search",{"title":436,"_path":437,"children":438},"データ管理","/document/data",[439,440,443,446,449,452,455,458,461],{"title":436,"_path":437},{"title":441,"_path":442},"データソース","/document/data/datasource",{"title":444,"_path":445},"データフィルタリング","/document/data/data-filtering",{"title":447,"_path":448},"組み込みオートフィルター","/document/data/builtin-autofilter",{"title":450,"_path":451},"条件付きフィルター","/document/data/conditional-filter",{"title":453,"_path":454},"条件付きスタイル","/document/data/conditional-styles",{"title":456,"_path":457},"グループとアウトライン","/document/data/group-and-outline",{"title":459,"_path":460},"データバリデーション","/document/data/data-validation",{"title":462,"_path":463},"保護とロック","/document/data/protection",{"title":465,"_path":466,"children":467},"セル","/document/cell",[468,469,472,475,478,481,484,487,490,493],{"title":465,"_path":466},{"title":470,"_path":471},"セルの編集","/document/cell/cell-edit",{"title":473,"_path":474},"スタイル","/document/cell/style",{"title":476,"_path":477},"罫線","/document/cell/border",{"title":479,"_path":480},"データ書式","/document/cell/data-format",{"title":482,"_path":483},"カスタムデータフォーマッター","/document/cell/custom-data-formatter",{"title":485,"_path":486},"データ連続入力","/document/cell/auto-fill",{"title":488,"_path":489},"リッチフォーマットテキスト","/document/cell/rich-format-text",{"title":491,"_path":492},"セルテキストの回転","/document/cell/rotate-cell-text",{"title":494,"_path":495},"セルの反復処理","/document/cell/iterate-cells",{"title":497,"_path":498,"children":499},"セルタイプ","/document/cell-types",[500,501,504,507,510,513],{"title":497,"_path":498},{"title":502,"_path":503},"組み込みセルタイプ","/document/cell-types/built-in-cell-types",{"title":505,"_path":506},"カスタムセル","/document/cell-types/custom-cell",{"title":508,"_path":509},"ドロップダウンリストセル","/document/cell-types/dropdown-list-cell",{"title":511,"_path":512},"コンボリストセル","/document/cell-types/combo-list-cell",{"title":514,"_path":515},"列全体のセルタイプ","/document/cell-types/cells-type-for-entire-column",{"title":517,"_path":518,"children":519},"数式","/document/formula",[520,521,524,527],{"title":517,"_path":518},{"title":522,"_path":523},"カスタム関数","/document/formula/custom-function",{"title":525,"_path":526},"数式関数","/document/formula/formula-functions",{"title":528,"_path":529},"VLOOKUP","/document/formula/vlookup",{"title":531,"_path":532,"children":533},"チャート","/document/chart",[534,535,538,541,544,547,550],{"title":531,"_path":532},{"title":536,"_path":537},"縦棒グラフ","/document/chart/column-chart",{"title":539,"_path":540},"横棒グラフ","/document/chart/bar-chart",{"title":542,"_path":543},"折れ線グラフ","/document/chart/line-chart",{"title":545,"_path":546},"面グラフ","/document/chart/area-chart",{"title":548,"_path":549},"2D円グラフ","/document/chart/pie-2d-chart",{"title":551,"_path":552},"ドーナツグラフ","/document/chart/doughnut-chart",{"title":554,"_path":555,"children":556},"フローティングオブジェクト","/document/floating",[557,558,561],{"title":554,"_path":555},{"title":559,"_path":560},"描画シェイプ","/document/floating/drawing-shapes",{"title":562,"_path":563},"フローティング画像","/document/floating/floating-image",{"title":565,"_path":566,"children":567},"イベント","/document/events",[568,569,571,574,577],{"title":565,"_path":566},{"title":565,"_path":570},"/document/events/events",{"title":572,"_path":573},"キーボードイベント","/document/events/keyboard-events",{"title":575,"_path":576},"マウスイベント","/document/events/mouse-events",{"title":578,"_path":579},"SelectionRangeChanged","/document/events/selection-events",{"title":581,"_path":582,"children":583},"カスタマイズ","/document/customization",[584,585,588,591,594,597,600],{"title":581,"_path":582},{"title":586,"_path":587},"コントロールの外観","/document/customization/control-appearance",{"title":589,"_path":590},"シートタブコントロール","/document/customization/sheet-tab-control",{"title":592,"_path":593},"使用可能なホットキー","/document/customization/hot-keys",{"title":595,"_path":596},"言語ローカライズ","/document/customization/language-localization",{"title":598,"_path":599},"アドレスバーと数式バー","/document/customization/formula-bar",{"title":601,"_path":602},"ReoGridEditor","/document/customization/editor",{"title":604,"_path":605,"children":606},"アクション","/document/actions",[607,608,611],{"title":604,"_path":605},{"title":609,"_path":610},"ReoGridアクションフレームワーク","/document/actions/actions",{"title":612,"_path":613},"組み込みワークシートアクション","/document/actions/built-in-actions",{"title":615,"_path":616,"children":617},"ファイル形式","/document/io",[618,619,622,625,628,631],{"title":615,"_path":616},{"title":620,"_path":621},"Excelファイル形式 (xlsx)","/document/io/excel-file-format",{"title":623,"_path":624},"CSV形式","/document/io/csv-format",{"title":626,"_path":627},"RGF形式","/document/io/rgf-format",{"title":629,"_path":630},"Excel形式とRGF形式の違い","/document/io/difference-between-excel-and-rgf-format",{"title":632,"_path":633},"HTMLとしてエクスポート","/document/io/export-as-html",{"title":635,"_path":636,"children":637},"高度な機能","/document/advanced",[638,639,642,645,648,651],{"title":635,"_path":636},{"title":640,"_path":641},"メモリワークブック","/document/advanced/memory-workbook",{"title":643,"_path":644},"ページングと印刷","/document/advanced/paging-and-print",{"title":646,"_path":647},"コントロールのリセット","/document/advanced/reset-control",{"title":649,"_path":650},"パフォーマンス","/document/advanced/performance",{"title":652,"_path":653},"設定","/document/advanced/settings",{"title":655,"_path":656,"children":657},"ハウツーガイド","/document/how-to",[658,659,662,665,668,671,674,675,678],{"title":655,"_path":656},{"title":660,"_path":661},"ReoGridの推奨プラクティス","/document/how-to/recommended-practice-for-using-reogrid",{"title":663,"_path":664},"DataTableでスプレッドシートを埋める","/document/how-to/fill-grid-with-datatable",{"title":666,"_path":667},"遅延読み込みモードによる大量データの高速読み込み","/document/how-to/fast-load-large-data-with-lazy-load-mode",{"title":669,"_path":670},"カスタムドロップダウンセルの作成","/document/how-to/create-custom-drop-down-cell",{"title":672,"_path":673},"日付ピッカーセルの作成","/document/how-to/create-date-picker-cell",{"title":8,"_path":4},{"title":676,"_path":677},"VB.NETでReoGridを使用するためのヒント","/document/how-to/use-reogrid-in-vb-net",{"title":679,"_path":680},"全選択チェックボックスヘッダーの作成","/document/how-to/create-select-all-checkbox-header",{"title":682,"_path":683,"children":684},"トラブルシューティング","/document/troubleshooting",[685,686],{"title":682,"_path":683},{"title":687,"_path":688},"PInvoke例外の修正","/document/troubleshooting/fix-pinvoke-exception",{"title":690,"_path":691},"エディション・機能一覧","/editions-features",{"title":693,"_path":694},"個人情報保護方針","/privacy-policy",{"title":696,"_path":697},"動作環境","/requirements",{"title":699,"_path":700},"ReoGrid利用許諾契約書","/terms",{"title":702,"_path":703},"ReoGrid利用許諾契約書(Ver.3)","/terms-v3",{"title":705,"_path":706},"ReoGrid利用許諾契約書(Ver.4)","/terms-v4",{"title":708,"_path":709},"ReoGrid 4 トライアルライセンスポリシー","/terms-v4-trial",{"title":711,"_path":712},"ReoGrid Web Edition 利用許諾契約書","/terms-web",1786025059367]