# PdfName class

> A PDF name such as /Type. Bytes map one to one onto chars (Latin-1) after #xx unescaping.

Namespace: [PdfNetStack.Objects](https://www.jadev-corp.com/api/pdfnetstack-objects/)  
Assembly: PdfNetStack.dll  
Package: `PdfNetStack`

A PDF name such as /Type. Bytes map one to one onto chars (Latin-1) after #xx unescaping.

```csharp
public sealed class PdfName : PdfObject
```

**Inheritance**

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[PdfObject](https://www.jadev-corp.com/api/pdfnetstack-objects/pdfobject/) ← 
[PdfName](https://www.jadev-corp.com/api/pdfnetstack-objects/pdfname/)

## Constructors

### <a id="PdfNetStack_Objects_PdfName__ctor_System_String_"></a> PdfName\(string\)

Creates a name.

```csharp
public PdfName(string value)
```

#### Parameters

`value` [string](https://learn.microsoft.com/dotnet/api/system.string)

The name without its leading slash, for example "Page".

## Properties

### <a id="PdfNetStack_Objects_PdfName_Value"></a> Value

The name without its leading slash.

```csharp
public string Value { get; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### <a id="PdfNetStack_Objects_PdfName_ToString"></a> ToString\(\)

Returns a string that represents the current object.

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

A string that represents the current object.

## Used in

- [Edit PDF pages in C# and .NET](https://www.jadev-corp.com/guides/edit-pages/)
- [Fill and create PDF forms in C# and .NET](https://www.jadev-corp.com/guides/forms/)
- [Low level PDF objects in C#](https://www.jadev-corp.com/guides/low-level-objects/)
- [Create PDF/A files in C# and .NET](https://www.jadev-corp.com/guides/pdf-a/)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-objects/pdfname/
