Zelenov / SharpIpp

MIT License
41 stars 20 forks source link

Multiple finishings #18

Open whelpy opened 11 months ago

whelpy commented 11 months ago

public Finishings? Finishings { get; set; }

public IEnumerable? Finishings { get; set; }

Am i getting it right that this workaround can do the same?

  AdditionalJobAttributes = new List<IppAttribute>()
  {
        new IppAttribute(Tag.Enum, "finishings", (int)Finishings.Punch),
        new IppAttribute(Tag.Enum, "finishings", (int)Finishings.Staple),
        new IppAttribute(Tag.Enum, "finishings", (int)Finishings.EdgeStitch),
  }