Show / Hide Table of Contents

Class PdfPrinterConfiguration

Nastavenia tlače elektronických dokladov.

Inheritance
object
PdfPrinterConfiguration
Implements
IEquatablePdfPrinterConfiguration
IDeepCloneablePdfPrinterConfiguration
IDeepCloneable
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class PdfPrinterConfiguration : IEquatable<PdfPrinterConfiguration?>, IDeepCloneable<PdfPrinterConfiguration>, IDeepCloneable

Constructors

PdfPrinterConfiguration()

Vytvorí inštanciu s predvolenými hodnotami

Declaration
public PdfPrinterConfiguration()

PdfPrinterConfiguration(PdfPrinterConfiguration)

Vytvorí kópiu nastavení

Declaration
public PdfPrinterConfiguration(PdfPrinterConfiguration configuration)
Parameters
Type Name Description
PdfPrinterConfiguration configuration

Nastavenia, ktorých hodnoty budú skopírované

Properties

OutputDirectory

Výstupný priečinok, do ktorého budú elektronické doklady ukladané

Declaration
public string OutputDirectory { get; set; }
Property Value
Type Description
string

Adresa priečinku alebo. Predvolená hodnota je podadresár "receipt" pracovného adresáru.

Examples

receipts

PageOrientation

Orientácia strany

Declaration
public PdfPageOrientation PageOrientation { get; set; }
Property Value
Type Description
PdfPageOrientation

Orientácia strany alebo null pre použitie predvolenej hodnoty. Predvolená hodnota je Portrait.

Examples

Portrait

PageSize

Formát strany

Declaration
public PdfPageSize PageSize { get; set; }
Property Value
Type Description
PdfPageSize

Formát strany alebo null pre použitie predvolenej hodnoty. Predvolená hodnota je A5.

Examples

A5

RetentionDays

Doba, vyjadrená v dňoch, po ktorej budú vytvorené elektronické doklady odstránené.

Declaration
public double? RetentionDays { get; set; }
Property Value
Type Description
double

Počet dní alebo null. Predvolená hodnota je 31.

Examples

31

Methods

DeepClone()

Declaration
public PdfPrinterConfiguration DeepClone()
Returns
Type Description
PdfPrinterConfiguration

Equals(PdfPrinterConfiguration?)

Declaration
public bool Equals(PdfPrinterConfiguration? other)
Parameters
Type Name Description
PdfPrinterConfiguration other
Returns
Type Description
bool

Equals(PdfPrinterConfiguration?, PdfPrinterConfiguration?)

Declaration
public static bool Equals(PdfPrinterConfiguration? first, PdfPrinterConfiguration? second)
Parameters
Type Name Description
PdfPrinterConfiguration first
PdfPrinterConfiguration second
Returns
Type Description
bool

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

Implements

IEquatable<T>
IDeepCloneable<T>
IDeepCloneable
In This Article
Na začiatok stránky Nine Digit, s.r.o. ©