"exportOptions": { "dpi" : 300, "outputSize" : [ 500, 500 ] }
Solved! Go to Solution.
<esri:PrintParameters id="printParameters" format="{formatsDDL.selectedItem}" layoutTemplate="{layoutTemplatesDDL.selectedItem}" map="{hostBaseWidget.map}" preserveScale="{scaleCheckbox.selected}"> <esri:exportOptions> <esri:ExportOptions dpi="300"/> </esri:exportOptions> <esri:layoutOptions> <esri:LayoutOptions id="layoutOptions"/> </esri:layoutOptions> </esri:PrintParameters>
... new print widget. Much nicer than the old one, but wondering if there is some way to make the image quality better?
<esri:PrintParameters id="printParameters" format="{formatsDDL.selectedItem}" layoutTemplate="{layoutTemplatesDDL.selectedItem}" map="{hostBaseWidget.map}" preserveScale="{scaleCheckbox.selected}"> <esri:exportOptions> <esri:ExportOptions dpi="300"/> </esri:exportOptions> <esri:layoutOptions> <esri:LayoutOptions id="layoutOptions"/> </esri:layoutOptions> </esri:PrintParameters>
<esri:exportOptions> <esri:ExportOptions dpi="{dpiDD.selectedItem}"/> </esri:exportOptions>
<mx:FormItem id="printDPI" label="Select DPI" width="100%" includeInLayout="true" visible="true"> <s:DropDownList id="dpiDD" width="100" labelField="dpi" selectedIndex="0"> <s:ArrayList> <fx:Object dpi="96"/> <fx:Object dpi="266"/> <fx:Object dpi="300"/> </s:ArrayList> </s:DropDownList> </mx:FormItem>