Table of Contents

Property GetPrinterNamesOverride

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetPrinterNamesOverride

Gets or sets a function that returns a list of available printer names.

public static Func<IReadOnlyList<string>?>? GetPrinterNamesOverride { get; set; }

Property Value

Func<IReadOnlyList<string>>

Remarks

Set this property to provide a custom method for retrieving printer names. The assigned function should return a read-only list of printer names, or null if it is not possible to determine the printer names. If not set, the default printer name retrieval mechanism is used.