TX Text Control .NET for WPF

FrameBaseCollection Class

Class
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Derived
BarcodeCollection, ChartCollection, DrawingCollection, FrameCollection, ImageCollection, SignatureFieldCollection, TextFrameCollection
Implements
ICollection, IEnumerable

Description

The FrameBaseCollection class is the base class of the ImageCollection and TextFrameCollection classes. It contains their base functionality. The FrameBaseCollection class implements the IEnumerable and the ICollection interfaces.

Syntax

public abstract class FrameBaseCollection : ICollection, IEnumerable

Examples

The following example includes the count value from a Frame Base Collection object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Count: {frameBaseCollection.Count}");
Console.WriteLine("Frame Base Collection is ready for use.");

Members

Properties

PropertyDescription
CountGets the number of elements contained in the collection.
IsSynchronizedReturns true if the collection is designed to be thread safe, otherwise, it returns false.
SyncRootGets an object that can be used to synchronize access to the collection.

Methods

MethodDescription
ClearRemoves all objects from the collection and from the document.
CopyToNot described in the reference. public abstract void CopyTo(Array array, int index);
GetEnumeratorReturns an enumerator that can be used to iterate through the collection.

Further Reading

  • Deleting All Images in TX Text Control .NET for Windows Forms –