Search Results for

    Show / Hide Table of Contents

    Class PrinterOptions

    Configuration options for printers.

    Inheritance
    object
    PrinterOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Morpheo.Sdk
    Assembly: Morpheo.Sdk.dll
    Syntax
    public class PrinterOptions

    Properties

    | Edit this page View Source

    Exclusions

    Gets the list of printer name patterns (Regex) to ignore.

    Declaration
    public List<string> Exclusions { get; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    Groups

    Gets the dictionary mapping group names to lists of printer patterns.

    Declaration
    public Dictionary<string, List<string>> Groups { get; }
    Property Value
    Type Description
    Dictionary<string, List<string>>

    Methods

    | Edit this page View Source

    DefineGroup(string, string)

    Defines a printer group (e.g., "KITCHEN") and associates printers matching the pattern.

    Declaration
    public PrinterOptions DefineGroup(string groupName, string pattern)
    Parameters
    Type Name Description
    string groupName

    The name of the group.

    string pattern

    The regex pattern to match printer names.

    Returns
    Type Description
    PrinterOptions

    The current PrinterOptions instance.

    | Edit this page View Source

    Exclude(string)

    Excludes printers whose names match the specified pattern (e.g., "Microsoft.*", "Fax").

    Declaration
    public PrinterOptions Exclude(string pattern)
    Parameters
    Type Name Description
    string pattern

    The regex pattern to match printer names.

    Returns
    Type Description
    PrinterOptions

    The current PrinterOptions instance.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2025 DEHER Rémi - Propulsé par .NET 10