Gets a particular text frame from the collection.

Introduced: 15.1.

GetItem()

public TextFrame GetItem();
Public Function GetItem() As TextFrame

GetItem(Int)

public TextFrame GetItem(int id);
Public Function GetItem(ByVal id As Integer) As TextFrame

GetItem(String)

public TextFrame GetItem(string name);
Public Function GetItem(ByVal name As String) As TextFrame

Parameters

Parameter Description
id Specifies the text frame's identifier set with the ID property. The method returns null if a text frame with the specified identifier does not exist.
name Specifies the text frame's name set with the Name property. The method returns null if a text frame with the specified name does not exist.

Return Value

The return value is null, if a text frame with the specified parameters could not be found. Otherwise, it is an object of the type TextFrame.