Apple Inc. が開発したNumbersスプレッドシートの読み取り
Contents
[
Hide
]
可能な使用シナリオ
NumbersはApple Inc.が開発したスプレッドシートアプリケーションです。Aspose.CellsはNumbersスプレッドシートの読み取りは可能ですが、書き込みには対応していません。Numbersスプレッドシートのデータ、スタイル、数式の読み取りが可能です。
Aspose.Cellsを使用してApple Inc.が開発したNumbersスプレッドシートを読む
以下のサンプルコードは、サンプルNumbersスプレッドシートを読み込み、出力PDF形式に変換します。成功させるためには、**LoadOptionsクラスを使用し、コンストラクタのパラメータにLoadFormat::Numbers**を指定してください。両方ともリンクからダウンロードできます。任意のNumbersスプレッドシートで試すことが可能です。コードのコメントも参照してください。
サンプルコード
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadOptions, _ := NewLoadOptions(LoadFormat_Numbers) | |
workbook, _ := NewWorkbook_String_LoadOptions("48496674.numbers", loadOptions) | |
workbook.Save_String("48496675.pdf") |