Skip to main content
Version: 2025

VisFontComboBox

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Web.Vis.50 (5.0.0.0)

A SAL combo box that associates font handles with its items.

public class VisFontComboBox : VisComboBoxBase

Populate the items explicitly; construction does not enumerate system fonts or populate a default list.

Example:

var fonts = new VisFontComboBox();
fonts.AddFont("Heading", fontHandle);

Constructors

Instance member VisFontComboBox()

Creates an empty VisFontComboBox with the extended list behavior supplied by its base class.

Methods

Static member FromHandle(hWnd)

Resolves a SAL handle to an existing VisFontComboBox.

ParameterTypeDescription
hWndSalWindowHandleThe control handle to resolve.

Returns: VisFontComboBox. The associated control, or when no control is resolved.

Throws:

Implements

NameDescription
ISalControl
ISalEditControl
ISalListControl
ISalWindow