---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/DefaultAppearance
---

# DefaultAppearance

## Overview

`DefaultAppearance` is a class in Aspose.PDF FOSS for .NET.

Represents the default appearance of a free text annotation.

This class provides 4 methods for working with DefaultAppearance objects in .NET programs.
Available methods include: `DefaultAppearance`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Font`, `FontName`, `FontResourceName`, `FontSize`, `Text`, `TextColor`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `FontName` | `string` | Read/Write | Font name (e.g. |
| `FontSize` | `double` | Read/Write | Font size in points. |
| `TextColor` | `System.Drawing.Color` | Read/Write | Text color. |
| `FontResourceName` | `string` | Read/Write | PDF resource name used to reference this font in /DA. |
| `Font` | `Aspose.Pdf.Text.Font?` | Read | The typed font this appearance was built from (when constructed from a Font); null otherwise. |
| `Text` | `string` | Read | Raw /DA appearance string. |

## Methods

| Signature | Description |
|-----------|-------------|
| `DefaultAppearance(fontName: string, fontSize: double, textColor: System.Drawing.Color)` | Create a default appearance with font, size, and color. |
| `DefaultAppearance(fontName: string, fontSize: double)` | Create a default appearance with just a font name and size. |
| `DefaultAppearance(font: Aspose.Pdf.Text.Font, fontSize: double, textColor: System.Drawing.Color)` | Create a default appearance from a typed Font instance plus size and color. |
| `DefaultAppearance()` | Create with default values (Helvetica 12pt black). |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)