title: How can we pass list of spotcolor values in PDFLib set-graphics-option?
body: <p>I have integrated <strong>PDFLib</strong> library in the c#.net code and I have a requirement to set multiple <strong>spotcolor</strong> values in <strong>set-graphics-option</strong> method.</p>
  
  <p><a href="https://i.stack.imgur.com/Ok0yz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ok0yz.png" alt="enter image description here"></a></p>
  
  <p>I tried the below code but it didn't work... Appreciate your help to fix this.</p>
  
  <pre class="lang-c prettyprint-override"><code> 1. optlist = "fillcolor={spotcolor {PANTONE 281 U} 1}, {spotcolor {PANTONE 15-14 C} 1}"
   2. optlist = "fillcolor={spotcolor {PANTONE 281 U} 1} {spotcolor {PANTONE 15-14 C} 1}"
   3. optlist = "fillcolor={[{spotcolor {PANTONE 281 U} 1}][{spotcolor {PANTONE 15-14 C} 1}]}"
  </code></pre>