Message 1 of 3

Not applicable
03-28-2017
07:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I set the properties for plotting like this
es = pPlotSettingsValidator->setPlotCfgName(pLayout, sPrinterPath); if (Acad::eOk != es) acutPrintf(L"\n setPlotCfgName: %s\n", acadErrorStatusText(es)); es = pPlotSettingsValidator->setCurrentStyleSheet(pLayout, strSheetStyle); if (Acad::eOk != es) acutPrintf(L"\n setCurrentStyleSheet: %s\n", acadErrorStatusText(es)); es = pPlotSettingsValidator->setPlotCentered(pLayout, true); //居中打印 if (Acad::eOk != es) acutPrintf(L"\n setPlotCentered: %s\n", acadErrorStatusText(es)); es = pPlotSettingsValidator->setPlotWindowArea(pLayout, ptMin.x, ptMin.y, ptMax.x, ptMax.y); if (Acad::eOk != es) acutPrintf(L"\n setPlotWindowArea: %s\n", acadErrorStatusText(es)); es = pPlotSettingsValidator->setPlotType(pLayout, AcDbPlotSettings::kWindow); if (Acad::eOk != es) acutPrintf(L"\n setPlotType: %s\n", acadErrorStatusText(es));
but in some dwg-files, the real plotting area has a offset to the area defined by ptMIn and ptMax, like the pic shows. The continuous areas are defined by ptMins and ptMaxs, and the dashed area are the CAD actually plot.
How can I remove this offset?
Solved! Go to Solution.