<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: alignment of numbers to center, yet left justified in NPrinting. in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274988#M14830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel,&lt;/P&gt;&lt;P&gt;This works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I digged up some information on NP with scripts.&lt;/P&gt;&lt;P&gt;i have some questions regarding scripting in NP&lt;/P&gt;&lt;P&gt;1.) Can we use Winforms or ASP.Net controls in NP also?&lt;/P&gt;&lt;P&gt;2.) Can i connect NP to VisualStudio and is it any useful?(i know it sounds silly,need to know some information)&lt;/P&gt;&lt;P&gt;3.)Can we create table Programmatically and put that to NPrinting End user display?&lt;/P&gt;&lt;P&gt;4.)Currently i get script option to visual basic,c#, js. If i need to script with other language like java what should be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Feb 2017 19:59:53 GMT</pubDate>
    <dc:creator>berryandcherry6</dc:creator>
    <dc:date>2017-02-18T19:59:53Z</dc:date>
    <item>
      <title>alignment of numbers to center, yet left justified in NPrinting.</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274984#M14826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with columns, where i need to align numbers to center, with left justified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i can do this using padding by left alignment, but this will be burdensome if there are multiple columns with different width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option in NPrinitng to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 05:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274984#M14826</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2017-02-15T05:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: alignment of numbers to center, yet left justified in NPrinting.</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274985#M14827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume (based on your previous questions) that you are using PixelPerfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Won't one of the &lt;STRONG&gt;Text Alignment&lt;/STRONG&gt; options (perhaps &lt;STRONG&gt;Middle Left)&lt;/STRONG&gt; serve the purpose?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153118_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 06:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274985#M14827</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-02-15T06:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: alignment of numbers to center, yet left justified in NPrinting.</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274986#M14828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its partially helping me.&lt;/P&gt;&lt;P&gt;see this images&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vaer1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153127_vaer1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Ver2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/153128_Ver2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the properties i am applying, where i need to give left padding to each column if they of diiferent width to make it to center.&lt;/P&gt;&lt;P&gt;I need it to take Automatically to center left align.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 06:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274986#M14828</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2017-02-15T06:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: alignment of numbers to center, yet left justified in NPrinting.</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274987#M14829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to automatically change the padding depending on the width you will need to do it in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have two fields in &lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;label1&lt;/SPAN&gt; &amp;amp;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; label2&lt;/SPAN&gt; like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="153165" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/153165_pastedImage_15.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Open the &lt;STRONG&gt;Scripts Editor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="153163" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/153163_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Here is example C# code for &lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;label1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: courier new,courier;"&gt;private&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #8000ff;"&gt;void&lt;/SPAN&gt; label1_BeforePrint&lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;object&lt;/SPAN&gt; sender&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt; System&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;Drawing&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;Printing&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;PrintEventArgs e&lt;SPAN style="color: #000080;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; XRLabel label &lt;SPAN style="color: #000080;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;XRLabel&lt;SPAN style="color: #000080;"&gt;)&lt;/SPAN&gt;sender&lt;SPAN style="color: #000080;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #8000ff;"&gt;int&lt;/SPAN&gt; lx &lt;SPAN style="color: #000080;"&gt;=&lt;/SPAN&gt; label&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;Width&lt;SPAN style="color: #000080;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;lx &lt;SPAN style="color: #000080;"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #ff8000;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;label&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;Padding &lt;SPAN style="color: #000080;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; PaddingInfo&lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #000080;"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;else&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;lx &lt;SPAN style="color: #000080;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #ff8000;"&gt;250&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;label&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;Padding &lt;SPAN style="color: #000080;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; PaddingInfo&lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;75&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #000080;"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;else&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;label&lt;SPAN style="color: #000080;"&gt;.&lt;/SPAN&gt;Padding &lt;SPAN style="color: #000080;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; PaddingInfo&lt;SPAN style="color: #000080;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;25&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: courier new,courier;"&gt;}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjust as required and repeat for &lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;label2&lt;/SPAN&gt; as well. You will get padding based on the width of your label (see arrows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/153170_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 10:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274987#M14829</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-02-15T10:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: alignment of numbers to center, yet left justified in NPrinting.</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274988#M14830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel,&lt;/P&gt;&lt;P&gt;This works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I digged up some information on NP with scripts.&lt;/P&gt;&lt;P&gt;i have some questions regarding scripting in NP&lt;/P&gt;&lt;P&gt;1.) Can we use Winforms or ASP.Net controls in NP also?&lt;/P&gt;&lt;P&gt;2.) Can i connect NP to VisualStudio and is it any useful?(i know it sounds silly,need to know some information)&lt;/P&gt;&lt;P&gt;3.)Can we create table Programmatically and put that to NPrinting End user display?&lt;/P&gt;&lt;P&gt;4.)Currently i get script option to visual basic,c#, js. If i need to script with other language like java what should be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2017 19:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274988#M14830</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2017-02-18T19:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: alignment of numbers to center, yet left justified in NPrinting.</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274989#M14831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1), 2) &amp;amp; 3) As far as I know the answer is "No"&lt;/P&gt;&lt;P&gt;4) Only C#, Visual Basic &amp;amp; JScript .NET are supported&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153648_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2017 22:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/alignment-of-numbers-to-center-yet-left-justified-in-NPrinting/m-p/1274989#M14831</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-02-19T22:10:44Z</dc:date>
    </item>
  </channel>
</rss>

