# TXDrawingCore.IsCanvasVisible Property

> Gets a value whether the cavas is visible or not. It is visible if it contains only one shape, the shape's CanFitToCanvas property is set to false, its AutoSize property is set to true and the TXDrawingCore's BorderWidth property is 0. If the property's value is false the TXDrawingCore instance can be thought of as a representation of the containing shape where bounds changes of the TXDrawingCore lead to considering changes of the shape and vise versa.

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

---

### Description

Gets a value whether the cavas is visible or not. It is visible 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 `TXDrawingCore`'s [BorderWidth](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcore/borderwidth-property/llms-full.txt) property is 0. If the property's value is false the `TXDrawingCore` instance can be thought of as a representation of the containing shape where bounds changes of the `TXDrawingCore` lead to considering changes of the shape and [vise versa](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcore/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 (tXDrawingCore.IsCanvasVisible)
{
    Console.WriteLine("TXDrawing Core is ready for this operation.");
}
```

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [TXDrawingCore.GetSVG Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcore/getsvg-method/llms-full.txt)
- **Next:** [TXDrawingCore.Load Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcore/load-method/llms-full.txt)
