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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft