Aspose::Page::License::SetLicense メソッド

License::SetLicense(System::SharedPtr<System::IO::Stream>) method

コンポーネントにライセンスを付与します。

void Aspose::Page::License::SetLicense(System::SharedPtr<System::IO::Stream> stream)
パラメーター説明
ストリームSystem::SharedPtr<System::IO::Stream>ライセンスが含まれるストリーム。

備考

このメソッドを使用して、ストリームからライセンスをロードします。

void setLicense(java.io.InputStream stream)

参照

License::SetLicense(System::String) method

コンポーネントにライセンスを付与します。

void Aspose::Page::License::SetLicense(System::String licenseName)

備考

以下の場所でライセンスを検索します:

  1. 明示的なパス。
  1. コンポーネント アセンブリのフォルダー。

  2. クライアントの呼び出しアセンブリのフォルダー。

  3. エントリ アセンブリのフォルダー。

  4. クライアントの呼び出しアセンブリに埋め込まれたリソース。

**Note:**On the .NET Compact Framework, tries to find the license only in these locations:

  1. 明示的なパス。

  2. クライアントの呼び出しアセンブリに埋め込まれたリソース。

  1. コンポーネント JAR ファイルのフォルダー。
## 参照