Sdílet prostřednictvím


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)

Syntax

'Declaration
Public Interface IHtmlCopyOptions
'Usage
Dim instance As IHtmlCopyOptions
public interface IHtmlCopyOptions
public interface class IHtmlCopyOptions
type IHtmlCopyOptions =  interface end
public interface IHtmlCopyOptions

The IHtmlCopyOptions type exposes the following members.

Properties

  Name Description
Public property AfterCodeSnippet Gets the HTML snippet to be inserted after the markup generated Null for default value.
Public property BeforeCodeSnippet Gets the HTML snippet to be inserted before the markup generated Null for default value.
Public property EmitSpanClass Gets the emit span class Null for default value.
Public property EmitSpanStyle Gets the emit span style Null for default value.
Public property ReplaceLineBreaksWithBR Gets the replace line break with BR Null for default value.
Public property Space Gets the space string Null for default value.

Top

Remarks

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.

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace