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

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,
	double fontSize
)
Visual Basic
Public Sub New ( _
	text As String, _
	font As Font, _
	fontSize As Double _
)

Parameters

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

Remarks

Create a fragment with given text, font and fractional font size.

See Also