TextBlock Constructor (ContentGenerationDelegatePageGenerationContext, String)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the TextBlock class.

Namespace:  Apitron.PDF.Kit.FlowLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public TextBlock(
	ContentGenerationDelegate<PageGenerationContext, string> contentGenerationFunction
)

Parameters

contentGenerationFunction
Type: Apitron.PDF.Kit.FlowLayout.ContentContentGenerationDelegatePageGenerationContext, String
Text generation function, it accepts the PageGenerationContext that can be used to provide dynamic value for text block e.g. current page number. Executed at the time of generation.
Remarks

Ignored, user sets the Text property.
See Also

Reference