[]
        
(Showing Draft Content)

C1.C1Preview.RenderParagraph.-ctor

RenderParagraph Constructor

RenderParagraph()

Initializes a new instance of the RenderParagraph class.

Declaration
public RenderParagraph()

RenderParagraph(Style)

Initializes a new instance of the RenderParagraph class, specifying a Style to use.

Declaration
public RenderParagraph(Style style)
Parameters
Type Name Description
Style style

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

RenderParagraph(Font)

Initializes a new instance of the RenderParagraph class, specifying a Font to use.

Declaration
public RenderParagraph(Font font)
Parameters
Type Name Description
Font font

The default font for the current paragraph.

RenderParagraph(Font, Color)

Initializes a new instance of the RenderParagraph class, specifying the default font and text color.

Declaration
public RenderParagraph(Font font, Color textColor)
Parameters
Type Name Description
Font font

The default font for the current paragraph.

Color textColor

The default text color for the current paragraph.

RenderParagraph(Font, Color, AlignHorzEnum)

Initializes a new instance of the RenderParagraph class, specifying the default font, text color and horizontal alignment.

Declaration
public RenderParagraph(Font font, Color textColor, AlignHorzEnum horzAlign)
Parameters
Type Name Description
Font font

The default font for the current paragraph.

Color textColor

The default text color for the current paragraph.

AlignHorzEnum horzAlign

The horizontal alignment for the current paragraph.

RenderParagraph(Font, AlignHorzEnum)

Initializes a new instance of the RenderParagraph class, specifying the default font and horizontal alignment.

Declaration
public RenderParagraph(Font font, AlignHorzEnum horzAlign)
Parameters
Type Name Description
Font font

The default font for the current paragraph.

AlignHorzEnum horzAlign

The horizontal alignment for the current paragraph.

RenderParagraph(AlignHorzEnum)

Initializes a new instance of the RenderParagraph class, specifying the horizontal alignment.

Declaration
public RenderParagraph(AlignHorzEnum horzAlign)
Parameters
Type Name Description
AlignHorzEnum horzAlign

The horizontal alignment for the current paragraph.