---
title: "ListItem..::.HasText Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItem_HasText_1_e1836fc4.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/)

# ListItem.HasText Method 
 
Returns value indicating whether the item has text information of specified type.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Overridable Function HasText ( _textInfoId As Integer _
) As Boolean
```
 
```csharp
public virtual bool HasText(int textInfoId
)
```
 
### Parameters
 
 - textInfoId
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
An integer value specifying the identifier of the requested piece of text information.
 
### Return Value
 **true** if the item contains a text for specified *textInfoId*, otherwise **false**.
 
### Implements
 
[IListItem.HasText(Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IListItem_HasText_1_e1836fc4.htm.md)
 
## Remarks
  
[ThumbnailListItem](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ThumbnailListItem.htm.md) class provides access to the following pieces of text information:
 
|  Constant |  Description |
| --- | --- |
 |  [TextInfoIdCreationDate](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_WinControls_ThumbnailListItem_TextInfoIdCreationDate.htm.md) |  File creation date. |
 |  [TextInfoIdDisplayName](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_WinControls_ThumbnailListItem_TextInfoIdDisplayName.htm.md) |  Display name of the item (its file name without path with or without extention depending on Windows settings). |
 |  [TextInfoIdFileSize](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_WinControls_ThumbnailListItem_TextInfoIdFileSize.htm.md) |  File size. |
 |  [TextInfoIdFileType](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_WinControls_ThumbnailListItem_TextInfoIdFileType.htm.md) |  File type name (as registered in Windows). |
 |  [TextInfoIdPath](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_WinControls_ThumbnailListItem_TextInfoIdPath.htm.md) |  Full path to the file. |
   
## See Also

### Reference

- [ListItem Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListItem.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
