'DeclarationPublic Event ProcessText As EventHandler(Of ProcessTextEventArgs)
public event EventHandler<ProcessTextEventArgs> ProcessText
public: event EventHandler<ProcessTextEventArgs^>^ ProcessText
Event Data
The event handler receives an argument of type ProcessTextEventArgs containing data related to this event. The following ProcessTextEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| ObjectName | The name of the object currently printing. |
| ObjectSubType | The subtype of the object e.g. for extension objects. |
| ObjectType | The type of the object. |
| Text | The actual text that may be modified. |
| TextType | The text type. |
Example
The following sample shows the use of hyphenation with the external component NHunspell which exists as NuGet package.
Requirements
Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10
See Also