Class EPLFormular
Represents a complete EPL form
Inheritance
System.Object
EPLFormular
Namespace: Simplic.EPL
Assembly: Simplic.EPL.dll
Syntax
public class EPLFormular : IPrintable
Constructors
| Improve this Doc View SourceEPLFormular(IErrorListener, String)
Create new epl formular
Declaration
public EPLFormular(IErrorListener listener, string epl = null)
Parameters
Type | Name | Description |
---|---|---|
IErrorListener | listener | Error listener |
System.String | epl | Optional epl code |
Properties
| Improve this Doc View SourceCommands
Get list of EPL-Commands
Declaration
public IList<EPLCommand> Commands { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<EPLCommand> |
Processor
EPL processor
Declaration
public IPreprocessor Processor { get; set; }
Property Value
Type | Description |
---|---|
IPreprocessor |
Methods
| Improve this Doc View SourceGetEPLCode(Boolean)
Get the list of commands as EPL-Code
Declaration
public string GetEPLCode(bool callPreprocessor = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | callPreprocessor | If set to true, the preprocessor will be used for processing data |
Returns
Type | Description |
---|---|
System.String | EPL code with or without processed information |
Load(String)
Fill epl formular
Declaration
public void Load(string epl)
Parameters
Type | Name | Description |
---|---|---|
System.String | epl | epl code |
Print(PrinterDevice)
Print the current label
Declaration
public void Print(PrinterDevice device)
Parameters
Type | Name | Description |
---|---|---|
PrinterDevice | device | Label |