Aspose::Pdf::License::SetLicense metod
Innehåll
[
Dölj
]License::SetLicense(const System::SharedPtr<System::IO::Stream>&) method
Licensierar komponenten.
void Aspose::Pdf::License::SetLicense(const System::SharedPtr<System::IO::Stream> &stream)
| Parameter | Typ | Beskrivning |
|---|---|---|
| ström | const System::SharedPtr<System::IO::Stream>& | En ström som innehåller licensen. |
Anmärkningar
Använd den här metoden för att läsa in en licens från en ström.
[Java] void setLicense(java.io.InputStream stream)
Se även
- Typedef SharedPtr
- Class Stream
- Class License
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
License::SetLicense(const System::String&) method
Licensierar komponenten.
void Aspose::Pdf::License::SetLicense(const System::String &licenseName)
| Parameter | Typ | Beskrivning |
|---|---|---|
| licenseName | const System::String& | Kan vara ett fullt eller kort filnamn eller namn på en inbäddad resurs. Använd en tom sträng för att växla till utvärderingsläge. |
Anmärkningar
Försöker hitta licensen på följande platser:
Explicit sökväg.
Mappen som innehåller Aspose-komponentens assembly.
Mappen som innehåller klientens anropande assembly.
Mappen som innehåller entry (startup)-assemblyn.
En inbäddad resurs i klientens anropande assembly.
**Note:**On the .NET Compact Framework, tries to find the license only in these locations:
Explicit sökväg.
En inbäddad resurs i klientens anropande assembly.
[Java]
Mappen som innehåller Aspose-komponentens JAR-fil.
Mappen som innehåller klientens anropande JAR-fil.
Se även
- Class String
- Class License
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++