IHtmlCopyOptions Interface

Applies to v2.

Provides the options for Copy as HTML in editor.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

public interface IHtmlCopyOptions

The IHtmlCopyOptions type exposes the following members.

  NameDescription
Public propertyAfterCodeSnippet Gets the HTML snippet to be inserted after the markup generated Null for default value.
Public propertyBeforeCodeSnippet Gets the HTML snippet to be inserted before the markup generated Null for default value.
Public propertyEmitSpanClassGets the emit span class Null for default value.
Public propertyEmitSpanStyleGets the emit span style Null for default value.
Public propertyReplaceLineBreaksWithBR Gets the replace line break with BR Null for default value.
Public propertySpace Gets the space string Null for default value.
Top

In order to override default options, implement the interface fully and export it WebMatrix will only pick the first options it find in the MEF catalog.

Show: