GridWebのリリースまたはバージョンを取得
Contents
[
Hide
]
Aspose.Cells.GridWeb.GridWeb.GetVersion()メソッドを使用して、Aspose.Cells.GridWebのリリースまたは実行バージョンを取得してください。 このバージョンは、コードを実行時にGridWebバージョンを見つけるのに役立ちます。
Aspose.Cells.GridWebのリリースまたは実行バージョンを取得する
以下のサンプルコードはAspose.Cells.GridWebの実行バージョンを検索し、ASP.NETのラベルコントロールに表示します。
This file contains 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 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; | |
} |