# VisFontNameListBox

Namespace: **PPJ.Runtime.Vis**

Assembly: **PPJ.Runtime.Vis.49** (4.9.0.0)

Extended ListBox, lists the names of all the installed fonts.

{% tabs %}
{% tab title="C#" %}

```csharp
public class VisFontNameListBox : VisListBoxBase
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class VisFontNameListBox
    Inherits VisListBoxBase
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)VisFontNameListBox()

Default Constructor.

## Methods

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%2Fstatic.png?alt=media)FromHandle(handle)

Returns the control associated with the handle.

| Parameter  | Type                                                                                                                  | Description |
| ---------- | --------------------------------------------------------------------------------------------------------------------- | ----------- |
| **handle** | [SalWindowHandle](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox) |             |

**Returns:** [VisFontNameListBox](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)GetSelectedFont(fontName, fontType)

| Parameter    | Type                                                                                                             | Description |
| ------------ | ---------------------------------------------------------------------------------------------------------------- | ----------- |
| **fontName** | [SalString&](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox) |             |
| **fontType** | [SalNumber&](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox) |             |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Populate(type)

Populates the control with the names of all the fonts.

| Parameter | Type                                                                                                            | Description |
| --------- | --------------------------------------------------------------------------------------------------------------- | ----------- |
| **type**  | [SalNumber](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox) | Not used    |

**Returns:** [SalNumber](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox).

## Implements

| Name                                                                                                                  | Description |
| --------------------------------------------------------------------------------------------------------------------- | ----------- |
| [ISalControl](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox)     |             |
| [ISalListControl](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox) |             |
| [ISalWindow](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamelistbox)      |             |
