[]
        
(Showing Draft Content)

C1.C1Preview.RenderParagraph.-ctor

RenderParagraph Constructor

RenderParagraph()

Initializes a new instance of the RenderParagraph class.

Declaration
public RenderParagraph()
Public Sub New()

RenderParagraph(Style)

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

Declaration
public RenderParagraph(Style style)
Public Sub New(style As 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)
Public Sub New(font As 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)
Public Sub New(font As Font, textColor As Color)
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)
Public Sub New(font As Font, textColor As Color, horzAlign As AlignHorzEnum)
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)
Public Sub New(font As Font, horzAlign As AlignHorzEnum)
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)
Public Sub New(horzAlign As AlignHorzEnum)
Parameters
Type Name Description
AlignHorzEnum horzAlign

The horizontal alignment for the current paragraph.