2

我有一个由高级数据网格和任意图表组成的仪表板。我的打印功能似乎只打印数据网格而不是图表。请看下面的代码。

public function PrintDashboard():void{
printJob = new FlexPrintJob(); // calls the dialog

if(printJob.start())  // Starts when the user presses ok
{

    printJob.addObject(dashPreview,FlexPrintJobScaleType.MATCH_WIDTH); // the object you want to add, and the scaling you want to apply
    printJob.send(); // Send everything to the printers.        
}   

}

请帮助打印任何图表对象。谢谢你。

4

1 回答 1

1

发现了问题。只需要设置 printJob.printAsBitmap = false;

于 2013-04-15T08:12:14.140 回答