# TXDrawingControl.IsCanvasVisible Property

> Gets a value whether the TX Drawing Control is interpreted as canvas or not. The control is not interpreted as canvas if it contains only one shape, the shape's CanFitToCanvas property is set to false, its AutoSize property is set to true and the control's BorderWidth property is 0. If the property's value is false the control can be thought of as a representation of the containing shape where bounds changes of the control lead to considering changes of the shape and vise versa.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDrawing.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Drawing > TXDrawingControl.IsCanvasVisible Property
- **522 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/iscanvasvisible-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/iscanvasvisible-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/iscanvasvisible-property/llms-full.txt

---

### Description

Gets a value whether the [TX Drawing Control](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/llms-full.txt) is interpreted as canvas or not. The control is not interpreted as canvas if it [contains](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapecollection/llms-full.txt) only one [shape](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms-full.txt), the shape's [CanFitToCanvas](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/canfittocanvas-property/llms-full.txt) property is set to false, its [AutoSize](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/autosize-property/llms-full.txt) property is set to true and the control's [BorderWidth](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/borderwidth-property/llms-full.txt) property is 0. If the property's value is false the control can be thought of as a representation of the containing shape where bounds changes of the control lead to considering changes of the shape and [vise versa](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/adaptbounds-event/llms-full.txt).

### Syntax

```csharp
public bool IsCanvasVisible { get; }
```

```vbnet
Public ReadOnly Property IsCanvasVisible As Boolean
```

### Examples

The following example checks the is canvas visible state before recording the object's current status.

```csharp
if (tXDrawingControl.IsCanvasVisible)
{
    Console.WriteLine("TXDrawing Control is ready for this operation.");
}
```

```vbnet
If tXDrawingControl.IsCanvasVisible Then
    Console.WriteLine("TXDrawing Control is ready for this operation.")
End If
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TXDrawingControl.FormatShapesDialog Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/formatshapesdialog-method/llms-full.txt)
- **Next:** [TXDrawingControl.Load Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/load-method/llms-full.txt)
