←Select platform

MimeType Property

Summary

Gets the MIME type of the current document.

Syntax

C#
VB
C++
public string MimeType { get; } 
  
Public ReadOnly Property MimeType As String 
public: 
property String^ MimeType { 
   String^ get(); 
} 

Property Value

A System.String that specifies the MIME type of the current document. Default value is null (Nothing in VB).

Remarks

The MIME type for PDF documents is "application/pdf", for XPS documents is "application/vnd.ms-xpsdocument", etc.

Example

For an example, refer to DocumentReader.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly