ITextParagraphPropertiesFactoryService Interface

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

The ITextParagraphPropertiesFactoryService type exposes the following members.

  NameDescription
Public methodCreateCreates a TextParagraphProperties for the provided configuration.
Top

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.

Show:
© 2016 Microsoft