FrameMergedEventArgs Class
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
- Inherits
- Event
Args - Mail
Merge. Frame Merged Event Args
- Event
Description
The FrameMergedEventArgs class is the base class for all event argument classes that provide information about a frame that has been merged during a mail merge operation.
Syntax
public abstract class MailMerge.FrameMergedEventArgs : EventArgsPublic MustInherit Class MailMerge.FrameMergedEventArgs
Inherits EventArgsExamples
The following example includes the frame value from a Frame Merged Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Frame: {frameMergedEventArgs.Frame}");
Console.WriteLine("Frame Merged Event Args is ready for use.");Console.WriteLine($"Frame: {frameMergedEventArgs.Frame}")
Console.WriteLine("Frame Merged Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| DataRow | Gets the data row which is used to supply the current frame with merge content. |
| Frame | Gets the frame that has been merged. |
| MergeBlockName | If the frame is part of a merge block, this property returns the name of the block. If not, an empty string is returned. |
| NestingDepth | If the frame is part of a merge block, this property returns the one-based nesting depth of the block. Otherwise 0 is returned. |
| SubTextPartID | Gets the ID of the subtext part the frame is part of. Is 0 if the frame is not part of a subtext part. |
| SubTextPartNumber | Gets the 1-based number of the subtext part the frame is part of. Is 0 if the frame is not part of a subtext part. |