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)


Public Interface ITextParagraphPropertiesFactoryService
public interface ITextParagraphPropertiesFactoryService
public interface class ITextParagraphPropertiesFactoryService
type ITextParagraphPropertiesFactoryService =  interface end
public interface ITextParagraphPropertiesFactoryService

The ITextParagraphPropertiesFactoryService type exposes the following members.


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



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


Microsoft.VisualStudio.Text.Formatting Namespace