# PdfFontAxis class

> A design axis of a variable font, such as weight (wght) or width (wdth), with its range in the axis's own units: weights run from 1 to 1000, widths are...

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

A design axis of a variable font, such as weight (wght) or width (wdth), with its range in the
axis's own units: weights run from 1 to 1000, widths are percentages of the normal width.

```csharp
public sealed class PdfFontAxis
```

**Inheritance**

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[PdfFontAxis](https://www.jadev-corp.com/api/pdfnetstack-fonts/pdffontaxis/)

## Properties

### <a id="PdfNetStack_Fonts_PdfFontAxis_Default"></a> Default

The value of the font's default instance.

```csharp
public double Default { get; }
```

#### Property Value

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

### <a id="PdfNetStack_Fonts_PdfFontAxis_IsHidden"></a> IsHidden

True when the font asks applications not to offer the axis to users.

```csharp
public bool IsHidden { get; }
```

#### Property Value

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

### <a id="PdfNetStack_Fonts_PdfFontAxis_Maximum"></a> Maximum

The largest value.

```csharp
public double Maximum { get; }
```

#### Property Value

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

### <a id="PdfNetStack_Fonts_PdfFontAxis_Minimum"></a> Minimum

The smallest value.

```csharp
public double Minimum { get; }
```

#### Property Value

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

### <a id="PdfNetStack_Fonts_PdfFontAxis_Name"></a> Name

The axis name the font gives, such as "Weight".

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

#### Property Value

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

### <a id="PdfNetStack_Fonts_PdfFontAxis_Tag"></a> Tag

The four letter axis tag: wght, wdth, slnt, ital, opsz, or one of the font's own.

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

#### Property Value

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

## Methods

### <a id="PdfNetStack_Fonts_PdfFontAxis_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

- [Fonts and text in PDF with C# and .NET](https://www.jadev-corp.com/guides/fonts-and-text/)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-fonts/pdffontaxis/
