GridWeb のリリースまたはバージョンを取得する

Aspose.Cells.GridWeb のリリースまたは実行中のバージョンを取得します。

次のサンプル コードは、実行中のバージョンの Aspose.Cells.GridWeb を検出し、ASP.NET ラベル コントロールに出力します。

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Find version of GridWeb and display in label.
string version = Aspose.Cells.GridWeb.GridWeb.GetVersion();
Label1.Text = "GridWeb Version: " + version;

GridWebのクライアント側スクリプトファイルのバージョン番号を調べる

また、GridWeb のクライアント側スクリプト ファイルである acwmain.js のバージョン番号も確認できます。これには、acwmain.js ファイルのバージョン番号を保持する変数 acw_version が含まれています。次のようにコンソールに acwmain.js ファイルのバージョン番号を出力できます

For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
function GetVersion()
{
alert(acw_version);
console.log(acw_version);
return false;
}