SubTextPartID Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the ID of the subtext part the image is part of. Is 0 if the image is not part of a subtext part.
Syntax
public int SubTextPartID { get; }Public ReadOnly Property SubTextPartID As IntegerExamples
The following example includes the sub text part id value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Sub Text Part ID: {imageMergedEventArgs.SubTextPartID}");
Console.WriteLine("Image Merged Event Args is ready for use.");Console.WriteLine($"Sub Text Part ID: {imageMergedEventArgs.SubTextPartID}")
Console.WriteLine("Image Merged Event Args is ready for use.")Limitations
Read only.