---
title: "CustomFrame..::.WidthTU Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_CustomFrame_WidthTU.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# CustomFrame.WidthTU Property 
 
Gets/sets a width of the bitmap stored in the frame (thread-unsafe version).
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Protected Friend Property WidthTU As Integer
```
 
```csharp
protected internal int WidthTU { get; set; }
```
 
### Property Value
Width of the bitmap in pixels.
 
## Remarks
  
Use protected thread-unsafe versions of **xxxTU** properties instead of the public ones (without **TU** postfix) inside of the code of your custom codec. You should use to avoid deadlocks during multithreaded calls.
   
## See Also

### Reference

- [CustomFrame Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFrame.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
