ContentType Property (JEditorPane)

Class

JEditorPane.

Action

Gets the type of content that this editor is currently set to deal with.

Syntax

C#
protected String ContentType { get; }
VB
'Declaration
Protected Read Property ContentType As String

Access

Read only.

Examples

VB

Dim contentType As String = editorPane.ContentType