# VisFontNameComboBox

Namespace: **PPJ.Runtime.Vis**

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

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

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

```csharp
public class VisFontNameComboBox : VisComboBoxBase
```

{% endtab %}

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

```visual-basic
Public Class VisFontNameComboBox
    Inherits VisComboBoxBase
```

{% 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)VisFontNameComboBox()

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.visfontnamecombobox) |             |

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

### ![](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.visfontnamecombobox) |             |
| **fontType** | [SalNumber&](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visfontnamecombobox) |             |

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

### ![](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(fontType)

Populates the control with the names of all the fonts.

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

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

## Implements

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