GridWeb のリリースまたはバージョンを取得する
Contents
[
Hide
]
Aspose.Cells.GridWeb.GridWeb.GetVersion() メソッドを使用して、Aspose.Cells.GridWeb のリリースまたは実行中のバージョンを取得してください。このバージョンは、実行時にコードを介して GridWeb のバージョンを見つけるのに役立ちます。
Aspose.Cells.GridWeb のリリースまたは実行中のバージョンを取得します。
次のサンプル コードは、実行中のバージョンの Aspose.Cells.GridWeb を検出し、ASP.NET ラベル コントロールに出力します。
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
// 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 ファイルのバージョン番号を出力できます
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
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; | |
} |