Gets or sets an identifier for the frame. It must be a one-based value. A value of zero indicates that the image, text frame, chart, barcode or drawing has no identifier. Zero can also be used to delete a previously set identifier.

Introduced: 15.1.


public int ID { get; set; }
Public Property ID() As Integer


The following example shows the FrameBase class with four of its properties. The frameBase name is "points", is moveable at runtime and is left aligned. Here the 'ID' property is set to '1'.

TXTextControl.FrameBase frameBase = new TXTextControl.FrameBase();

frameBase.Name = "points";
frameBase.Moveable = true;
frameBase.Alignment = TXTextControl.HorizontalAlignment.Left;
frameBase.ID = 1;
Dim frameBase As TXTextControl.FrameBase = New TXTextControl.FrameBase()

frameBase.Name = "points"
frameBase.Moveable = True
frameBase.Alignment = TXTextControl.HorizontalAlignment.Left
frameBase.ID = 1