---
title: "AdvancedPsdTextFrame Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame.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/)

# AdvancedPsdTextFrame Class
 
Represents PSD text layer.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.AdvancedPsd (in Aurigma.GraphicsMill.Codecs.AdvancedPsd.dll)
 
## Syntax
  
```
Public NotInheritable Class AdvancedPsdTextFrame _Inherits AdvancedPsdFrame
```
 
```csharp
public sealed class AdvancedPsdTextFrame : AdvancedPsdFrame
```
 
## Remarks
  
The text layer is a particular case of a raster layer. It always contains the bitmap with rasterized text string, as well as:
 
- The text string itself (the [Text](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_Text.htm.md) property).
- The font settings (the [Font](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_Font.htm.md) property).
- Paragraph settings (such properties as [LeftIndent](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_LeftIndent.htm.md), [RightIndent](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_RightIndent.htm.md), [Justification](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_Justification.htm.md), and others).
- The text color (the [Color](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_Color.htm.md) property).
- The text box (the [TextBox](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame_TextBox.htm.md) property).

Typically you get an instance of this class in the following way:
 
1. Iterate through the PSD file layers (you will get them as [AdvancedPsdFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AdvancedPsdFrame.htm.md)).
2. Check the [Type](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AdvancedPsdFrame_Type.htm.md) property value.
3. If it is [Text](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PsdFrameType.htm.md), cast the frame class to AdvancedPsdTextFrame.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [Aurigma.GraphicsMill.LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md)
        - [Aurigma.GraphicsMill.Codecs.Frame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_Frame.htm.md)
            - [Aurigma.GraphicsMill.Codecs.AdvancedPsdFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AdvancedPsdFrame.htm.md)
                - Aurigma.GraphicsMill.Codecs.AdvancedPsdTextFrame
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.Codecs.AdvancedPsd_ObjectModel_3.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.Codecs.AdvancedPsd_ObjectModel_4.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.Codecs.AdvancedPsd_ObjectModel_2.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorProfile.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.Codecs.AdvancedPsd_ObjectModel_6.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.Codecs.AdvancedPsd_ObjectModel_7.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_SolidBrush.htm.md)
  
## See Also

### Reference

- [AdvancedPsdTextFrame Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Codecs_AdvancedPsdTextFrame.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
