TScrollingWinControl    TMDCustomControl 

Description

TMDViewer is Markdown reader control.

Properties

HasSelection

Public

Returns whether a text is selected.

TMDCustomControl inheritance

AutoSize

Public

Determines how the size of the control automatically resizes to accommodate the text.

Background

Public

Defines background and border color, opacity, border width and corners.

DesignPath

Published

Local path used to resolve relative paths at design time.

Images

Published

Determines which image list is associated with the control.

Lines

Published

Contains the Markdown script.

IsLayered

Public

Determines if control transparency is supported.

Opacity

protected

Adjusts the overall opacity of the control.

ResourcePath

Public

Returns the root path for relative path resources at runtime.

Style

Published

Style component associated with the control.

Methods

CopyToClipboard

Public

Copy the selected text to the clipboard.

GotoAnchor

Public

Jump to an anchor in the current document.

GotoHome

Public

Navigate to the top of the current document.

GotoNext

Public

Navigate to the next point in the history list.

GotoPrevious

Public

Navigate to the previous point in the history list.

LoadFromStream

Public

Loads a Markdown script from a stream.

LoadFromURI

Public

Loads a Markdown script from a file or URL.

TMDCustomControl inheritance

BeginUpdate

Public

Inhibits changes until EndUpdate has been invoked.

DoLinkDefault

protected

Performs default actions when a link is clicked.

EndUpdate

Public

Applies the changes that are pending after a call to BeginUpdate.

Events

OnNavigate

Published

Triggered when the user navigates in the document.

OnException

Published

Triggered when an exception is raised by the Markdown parser.

TMDCustomControl inheritance

OnCompleted

Published

Triggered when document loading is completed.

OnImageValidate

Published

Triggered when an image with parameters is found.

OnLinkClick

Published

Triggered on link clicked.

OnStyleModeChanged

Published

Triggered when switching between light and dark modes.

OnSyntaxHighlighting

Published

Triggered when a block of code needs to be highlighted.

OnUnknownImage

Published

Triggered when WIC is unable to load an image file.

OnUnknownImage64

Published

Triggered when WIC is unable to load an image that is base64 encoded.