Search Results for

    Show / Hide Table of Contents

    Class DefaultPrintConfigurationProvider

    Default implementation of the simplic printer provider. The main task is to communicate with the database

    Inheritance
    System.Object
    DefaultPrintConfigurationProvider
    Namespace: Simplic.Framework.Printing
    Assembly: Simplic.Framework.dll
    Syntax
    public class DefaultPrintConfigurationProvider : IPrinterConfigurationProvider

    Methods

    | Improve this Doc View Source

    GetConfiguration(Guid)

    Get a printer and it's configuration

    Declaration
    public Printer GetConfiguration(Guid id)
    Parameters
    Type Name Description
    Guid id

    Get a printer by unique id

    Returns
    Type Description
    Printer

    If found an instance of a printer will be returned

    | Improve this Doc View Source

    GetConfiguration(Guid, Boolean)

    Get a printer and it's configuration

    Declaration
    public Printer GetConfiguration(Guid id, bool ignoreRedirection)
    Parameters
    Type Name Description
    Guid id

    Get a printer by unique id

    System.Boolean ignoreRedirection

    If set to true, redirections will be ignored

    Returns
    Type Description
    Printer

    If found an instance of a printer will be returned

    | Improve this Doc View Source

    GetConfiguration(String)

    Get the configuration for a printer from the database

    Declaration
    public Printer GetConfiguration(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the printer (unique)

    Returns
    Type Description
    Printer

    Instance of a Printer if found, else null

    | Improve this Doc View Source

    SaveConfiguration(Printer)

    Save printer configuration to the database

    Declaration
    public void SaveConfiguration(Printer configuration)
    Parameters
    Type Name Description
    Printer configuration

    Require an instance of a Printer to save in the simplic database

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx