[]
        
(Showing Draft Content)

C1.WPF.Word.Objects.RtfString

RtfString Class

The Word/RTF text string.

Inheritance
RtfString
Namespace: C1.WPF.Word.Objects
Assembly: C1.WPF.Word.4.6.2.dll
Syntax
public class RtfString : RtfObject, ICloneable, IParagraphContent, IContent

Constructors

Name Description
RtfString(string)

Create Word/RTF string.

RtfString(string, Font)

Create Word/RTF string with character formatting.

RtfString(string, Font, RtfUnderlineStyle)

Create RTF string with character formatting.

Properties

Name Description
BackColor

Gets or sets background (text) color value for this string.

BorderColor

Gets or sets border color for this string.

BorderStyle

Gets or sets border style for this string.

BorderWidth

Gets or sets border width for this text.

Culture

Gets or sets culture information (language) for this string.

Expand

Gets or sets expand (+) or packed (-) value for this string.

Font

Gets or sets the font for this string.

ForeColor

Gets or sets foreground (text) color value for this string.

IsEastAsia

Gets or sets specifies that is east asia text.

IsInvisible

Gets or sets invisible for this string.

IsOutline

Gets or sets outline font for this string.

Subscript

Gets or sets subscript value for this string.

Superscript

Gets or sets superscript value for this string.

Text

Gets or sets the text for this string.

Underline

Gets or sets underline type for this string.

Methods

Name Description
IsCJK(string)

Is CJK (Chinese, Japanese, and Korean) of the text string.

IsEqualAttributes(RtfString)

Gets true if this attributes equal with other string attributes.

IsPunctuation(string)

Is punctuation or white space of the text string.

IsRightToLeft(string)

Is right to left text (such as" Arabic or Hebrew).

IsUnicode(string)

Is Unicode of the text string.

Operators

Name Description
implicit operator string(RtfString)

Convert implicitly to string.