Share via


Image.MIMEType Property

Returns the MIME type of the image. The MIMEType must be one of the following: image/bmp, image/jpeg, image/x-png; image/png, or image/gif.

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Property MIMEType As String
    Get
    Set
'Usage
Dim instance As Image
Dim value As String

value = instance.MIMEType

instance.MIMEType = value
public string MIMEType { get; set; }
public:
virtual property String^ MIMEType {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract MIMEType : string with get, set
override MIMEType : string with get, set
final function get MIMEType () : String
final function set MIMEType (value : String)

Property Value

Type: System.String

A string containing the MIME type of the image. The returned value must be one of the following valid values:

  • image/bmp

  • image/jpeg

  • image/x-png

  • image/png

  • image/gif

Implements

IImage.MIMEType

Remarks

Implements