Show / Hide Table of Contents

Class RichTextParagraph

Inheritance
System.Object
RichTextParagraph
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RichTextParagraph : object

Constructors

RichTextParagraph()

Declaration
public RichTextParagraph()

RichTextParagraph(RichTextRun)

Declaration
public RichTextParagraph(RichTextRun run)
Parameters
Type Name Description
RichTextRun run

RichTextParagraph(String)

Declaration
public RichTextParagraph(string text)
Parameters
Type Name Description
System.String text

Properties

Cell

Declaration
public Cell Cell { get; set; }
Property Value
Type Description
Cell

LastRun

Declaration
public RichTextRun LastRun { get; }
Property Value
Type Description
RichTextRun

Runs

Declaration
public ObservableCollection<RichTextRun> Runs { get; }
Property Value
Type Description
ObservableCollection<RichTextRun>

Text

Declaration
public string Text { get; }
Property Value
Type Description
System.String

Methods

Append(String)

Declaration
public RichTextParagraph Append(string text)
Parameters
Type Name Description
System.String text
Returns
Type Description
RichTextParagraph

AppendLine(String)

Declaration
public RichTextParagraph AppendLine(string text)
Parameters
Type Name Description
System.String text
Returns
Type Description
RichTextParagraph

AppendNewLineAfter(String)

Declaration
public RichTextParagraph AppendNewLineAfter(string text)
Parameters
Type Name Description
System.String text
Returns
Type Description
RichTextParagraph

Bold()

Declaration
public RichTextParagraph Bold()
Returns
Type Description
RichTextParagraph

Create(String)

Declaration
public static RichTextParagraph Create(string text)
Parameters
Type Name Description
System.String text
Returns
Type Description
RichTextParagraph

Equals(RichTextParagraph)

Declaration
public bool Equals(RichTextParagraph other)
Parameters
Type Name Description
RichTextParagraph other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

FontSize(Double)

Declaration
public RichTextParagraph FontSize(double value)
Parameters
Type Name Description
System.Double value
Returns
Type Description
RichTextParagraph

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Subscript()

Declaration
public RichTextParagraph Subscript()
Returns
Type Description
RichTextParagraph

Superscript()

Declaration
public RichTextParagraph Superscript()
Returns
Type Description
RichTextParagraph

VerticalAlignment(VerticalRunAlignment)

Declaration
public RichTextParagraph VerticalAlignment(VerticalRunAlignment alignment)
Parameters
Type Name Description
VerticalRunAlignment alignment
Returns
Type Description
RichTextParagraph
Back to top Generated by DocFX