Get the document context in docstream
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public DocumentContext GetContext( Thumbsize size ) |
Visual Basic (Declaration) |
---|
Public Function GetContext ( _ size As Thumbsize _ ) As DocumentContext |
Visual C++ |
---|
public: DocumentContext^ GetContext( Thumbsize size ) |
Parameters
- size
- Type: IpernityNET..::.Thumbsize
Choose your prefered size for thumbnails: 75, 100, 240, 500 or 560
Return Value
The DocumentContextRemarks
This method encapsulates doc.getContext
"read" permission is necessary to access to private docs.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |