Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > Document Class : Uri Property |
The value of Uri depends on how this document was obtained as follows:
If this document was loaded using DocumentFactory.LoadFromUri or DocumentFactory.LoadFromUriAsync then Uri is the same value passed to the method.
If this document was loaded using DocumentFactory.LoadFromFile, then the value of Uri is the same value passed as fileName formatted using file:/// protocol.
If this document was creating using DocumentFactory.Create, then the value of Uri is null.
If this document was loaded using DocumentFactory.LoadFromStream, then the value of Uri is null.
When this document is saved and re-loaded from the cache using SaveToCache and DocumentFactory.LoadFromCache, then Uri will contain the original value before it was saved.
For an example, refer to Document.