Compartir a través de


ITextParagraphPropertiesFactoryService Interface

Creates TextParagraphProperties classes to be used when lines on the view are being formatted.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaración
Public Interface ITextParagraphPropertiesFactoryService
public interface ITextParagraphPropertiesFactoryService
public interface class ITextParagraphPropertiesFactoryService
type ITextParagraphPropertiesFactoryService =  interface end
public interface ITextParagraphPropertiesFactoryService

The ITextParagraphPropertiesFactoryService type exposes the following members.

Methods

  Name Description
Public method Create Creates a TextParagraphProperties for the provided configuration.

Top

Remarks

This is a MEF component part, and should be imported as follows:

[Import] ITextFormattingParagraphPropertiesFactoryService factory = null;

This component is content type-specific. If you implement this factory service for your content type, the export should be annotated with one or more ContentTypeAttribute attributes.

See Also

Reference

Microsoft.VisualStudio.Text.Formatting Namespace