[]
        
(Showing Draft Content)

C1.C1Preview.ParagraphText.-ctor

ParagraphText Constructor

ParagraphText()

Initializes a new instance of the ParagraphText class.

Declaration
public ParagraphText()

ParagraphText(string, Style)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the Style.

Declaration
public ParagraphText(string text, Style style)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Style style

A Style to use (the AssignNonInheritedFrom(Style) method is used to copy the specified style to the current object's Style).

ParagraphText(string)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the Style.

Declaration
public ParagraphText(string text)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

ParagraphText(string, Font)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font.

Declaration
public ParagraphText(string text, Font font)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Font font

The font to use.

ParagraphText(string, Color)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the text color.

Declaration
public ParagraphText(string text, Color textColor)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Color textColor

The text color to use.

ParagraphText(string, TextPositionEnum)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the text position.

Declaration
public ParagraphText(string text, TextPositionEnum textPosition)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

TextPositionEnum textPosition

The text position to use.

ParagraphText(string, Font, Color)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font and text color.

Declaration
public ParagraphText(string text, Font font, Color textColor)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Font font

The font to use.

Color textColor

The text color to use.

ParagraphText(string, Font, TextPositionEnum)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font and text position.

Declaration
public ParagraphText(string text, Font font, TextPositionEnum textPosition)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Font font

The font to use.

TextPositionEnum textPosition

The text position to use.

ParagraphText(string, Color, TextPositionEnum)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the text color and position.

Declaration
public ParagraphText(string text, Color textColor, TextPositionEnum textPosition)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Color textColor

The text color to use.

TextPositionEnum textPosition

The text position to use.

ParagraphText(string, Font, Color, TextPositionEnum)

Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font, text color and position.

Declaration
public ParagraphText(string text, Font font, Color textColor, TextPositionEnum textPosition)
Parameters
Type Name Description
string text

A string assigned to the Text property of the current object.

Font font

The font to use.

Color textColor

The text color to use.

TextPositionEnum textPosition

The text position to use.