The ID to be used with the loaded document.
public string DocumentId { get; set; }
Public Property DocumentId() As String
Get
Set
public:
property String^ DocumentId
{
String^ get()
void set(String^ value)
}
public String getDocumentId()
public void setDocumentId()
String that specifies the ID to be used with the loaded document. Default value is null.
When the value of DocumentId is null (the default), then the document factory will create a new unique ID using a GUID generator. If the value is not null, then it is assumed to be a user-defined ID and used as is. In either case, the value is set in the Document.DocumentId property of the newly created document.
User-defined IDs can be used when the system already have unique ID's associated with the documents to be viewer. The document factory will not check nor guarantee the uniqness of these IDs.
For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET