←Select platform

GetDocumentStatus Method

Summary

Performs the default action for a MIME type.

Syntax
C#
VB
C++
Public Function GetDocumentStatus( 
   ByVal uri As Uri, 
   ByVal options As LoadDocumentOptions, 
   ByVal source As DocumentMimeTypeSource, 
   ByVal mimeType As String 
) As DocumentMimeTypeStatus 

Parameters

uri

The URI to the document being loaded.

options

The object passed by the user.

source

The source of this invocation.

mimeType

The MIME type being checked.

Return Value

Status of the MIME type.

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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.