<?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: How to improve the pdf quality in flex in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626987#M13955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using almost the same code and I do not see degraded quality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var rs:Resize= new Resize("FitToPage","left");
myPDF.addImage(map,rs,0,0,0,0,0,1,false,ImageFormat.JPG,100,Blend.NORMAL,null);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:43:11 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-12T02:43:11Z</dc:date>
    <item>
      <title>How to improve the pdf quality in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626984#M13952</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;Can anyone help with improving the quality of my pdf in flex.&lt;/P&gt;&lt;P&gt;Image which is been added has very low resolution.&lt;/P&gt;&lt;P&gt;This is the code which I have used till now for exporting the pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;myPDF = new PDF(Orientation.LANDSCAPE,Unit.MM, Size.LETTER);&amp;nbsp; 
&amp;nbsp; myPDF.setDisplayMode(Display.FULL_PAGE, Layout.SINGLE_PAGE); 
&amp;nbsp; map.scaleBarVisible = true;
&amp;nbsp; map.zoomSliderVisible = false; 
&amp;nbsp; map.panArrowsVisible = false;
&amp;nbsp; setPDFPageElements(myPDF, 220, 150, "Attribute Query Output " , "", "Copyright: State Planning Commision");
&amp;nbsp; myPDF.addImage(map,null,20,20,220,150,0,1,false,ImageFormat.JPG,100,Blend.NORMAL,null);
&amp;nbsp; var grid:org.alivepdf.data.Grid;
&amp;nbsp; var dataArray:Array =&amp;nbsp; ArrayCollection(dgAttribute1.dataProvider).toArray();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; grid = new org.alivepdf.data.Grid(dataArray, 0, 0, new RGBColor(0x999999), new RGBColor(0xFFFFFF),false,
&amp;nbsp; new RGBColor(0x000000), 1,Joint.MITER, null);
&amp;nbsp; grid.columns = createGridColumns();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; var newPage:Page = new Page ( Orientation.LANDSCAPE, Unit.MM, Size.LETTER );
&amp;nbsp; myPDF.addPage(newPage);
&amp;nbsp; myPDF.getCurrentPage().setUnit(Unit.MM);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; myPDF.textStyle(new RGBColor(0x000000), 1);
&amp;nbsp; myPDF.addGrid(grid, 3.5, 3.5, true);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; var file : FileReference = new FileReference()
&amp;nbsp; file.save(myPDF.save(Method.LOCAL),"exportresult.pdf");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:43:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626984#M13952</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2021-12-12T02:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the pdf quality in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626985#M13953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The maps image quality is normally just 96 DPI as it is only for screen display, so the only way you will achieve better is to use PrintTask and a round trip to the server to request a image at a higher DPI and suffer the lag time for that to occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 11:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626985#M13953</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-13T11:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the pdf quality in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626986#M13954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the problem is quality degrade below 96 DPI when converted to pdf.&lt;/P&gt;&lt;P&gt;Is there any way so that I can maintain at least 96DPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 07:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626986#M13954</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2015-05-14T07:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the pdf quality in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626987#M13955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using almost the same code and I do not see degraded quality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var rs:Resize= new Resize("FitToPage","left");
myPDF.addImage(map,rs,0,0,0,0,0,1,false,ImageFormat.JPG,100,Blend.NORMAL,null);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626987#M13955</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T02:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the pdf quality in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626988#M13956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case it showing degraded quality because of some other reasons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 06:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-improve-the-pdf-quality-in-flex/m-p/626988#M13956</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2015-07-02T06:32:17Z</dc:date>
    </item>
  </channel>
</rss>

