TextSimpleMarkerProperties 构造函数

定义

初始化 TextSimpleMarkerProperties 类的新实例。

public:
 TextSimpleMarkerProperties(System::Windows::TextMarkerStyle style, double offset, int autoNumberingIndex, System::Windows::Media::TextFormatting::TextParagraphProperties ^ textParagraphProperties);
public TextSimpleMarkerProperties (System.Windows.TextMarkerStyle style, double offset, int autoNumberingIndex, System.Windows.Media.TextFormatting.TextParagraphProperties textParagraphProperties);
new System.Windows.Media.TextFormatting.TextSimpleMarkerProperties : System.Windows.TextMarkerStyle * double * int * System.Windows.Media.TextFormatting.TextParagraphProperties -> System.Windows.Media.TextFormatting.TextSimpleMarkerProperties
Public Sub New (style As TextMarkerStyle, offset As Double, autoNumberingIndex As Integer, textParagraphProperties As TextParagraphProperties)

参数

style
TextMarkerStyle

TextMarkerStyle 的枚举值。

offset
Double

一个 Double,表示从行开头到文本标记符号末尾的距离。

autoNumberingIndex
Int32

一个 Int32 值,表示计数器样式的文本标记的自动编号计数器。

textParagraphProperties
TextParagraphProperties

一个 TextParagraphProperties 值,表示由文本标记的每个文本字符共享的属性。

适用于