←Select platform

GetStatus Method

Summary

Gets the status of a MIME type.

Syntax
C#
VB
C++
public DocumentMimeTypeStatus GetStatus( 
   string mimeType 
) 
Public Function GetStatus( 
   ByVal mimeType As String 
) As DocumentMimeTypeStatus 
public:  
   DocumentMimeTypeStatus^ GetStatus( 
      String^ mimeType 
   ) 

Parameters

mimeType

MIME type to check. If this value is null, then DocumentMimeTypeStatus.Unspecified is returned.

Return Value

If Entries contains a key matching mimeTypes, then the value is returned (of type DocumentMimeTypeStatus). Otherwise, DocumentMimeTypeStatus.Unspecified.

Remarks

By default, Entries does not contain any entries and the value of DefaultStatus is Unspecified. Therefore, DocumentFactory is able to load any data containing an image or document format supported by LEADTOOLS.

Refer to DocumentMimeTypes to customize this behavior.

Example

For an example, refer to DocumentMimeTypes.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly