MIME type of the document.
public string MimeType { get; }
Public ReadOnly Property MimeType() As String
Get
public:
property String^ MimeType
{
String^ get()
}
public String getMimeType()
The MIME type of the document.
When this document is loaded using DocumentFactory.LoadFromFile, DocumentFactory.LoadFromUri, DocumentFactory.LoadFromUriAsync or or DocumentFactory.LoadFromStream, then the value of MimeType will be parsed by the framework and set automatically. It will be the MIME of the original document file. For example, "application/pdf" for PDF documents, "image/tiff" for TIFF files, etc.
When this document is created using DocumentFactory.Create, then the MIME type is passed by the user through MimeType.
The MimeType is not used by the framework directly. The user can examine this value to determine the original format of the document.
For an example, refer to Document.
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