Initialize a new instance of the Fragment class with given content and font.

Namespace: TallComponents.PDF.Layout.Paragraphs
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.66.0

Syntax

C#
public Fragment(
	string text,
	Font font
)
Visual Basic
Public Sub New ( _
	text As String, _
	font As Font _
)

Parameters

text
Type: System..::..String
Content.
font
Type: TallComponents.PDF.Layout.Fonts..::..Font
Font.

Remarks

Create a fragment with given text and font. The default font size is 12pt.

See Also