> For the complete documentation index, see [llms.txt](https://fto-2.gitbook.io/fto-indicators-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fto-2.gitbook.io/fto-indicators-docs/types/visible-buffer-info.md).

# TVisibleBufferInfo

Represents the visual properties and information about an indicator buffer.

## Properties

| Property    | Type                                                       | Description                                 |
| ----------- | ---------------------------------------------------------- | ------------------------------------------- |
| `buffer`    | [TIndexBuffer](/fto-indicators-docs/types/index-buffer.md) | The buffer associated with the visible info |
| `name`      | string                                                     | The name of the buffer                      |
| `paintFrom` | number                                                     | The starting point for painting the buffer  |

## Constructor

### `constructor(visibleBufferInfo: IVisibleIndexBuffer)`

Initializes a new instance of the `TVisibleBufferInfo` class.

* **Parameters:**
  * `visibleBufferInfo`: An object implementing `IVisibleIndexBuffer` interface.

## Example Usage

```typescript
// Create a new visible buffer info
const visibleBufferInfo = new TVisibleBufferInfo({
  buffer: someBuffer,
  name: "ExampleBuffer",
  PaintFrom: 0,
});

// Access properties
console.log(`Buffer Name: ${visibleBufferInfo.name}`);
console.log(`Paint From: ${visibleBufferInfo.paintFrom}`);

// Set buffer visibility using the API
api.SetIndexVisibility(0, true);
```
