Printing & Plot Areas
Printing, PDF export, raster export and named print regions.
40 functions.
CadExportImageVecad CadExportImage — render model space to a raster file (PNG/JPG/BMP by extension) of pixelWidth × pixelHeight.
CadPrintPrint the drawing.
CadPrintAtCenterCentres the plot on the paper.
CadPrintGetColorReturns the colour of the print setup.
CadPrintGetCopiesReturns the copies of the print setup.
CadPrintGetOffsetReturns the offset of the print setup.
CadPrintGetOrientReturns the orient of the print setup.
CadPrintGetPaperHReturns the paper h of the print setup.
CadPrintGetPaperSizeReturns the paper size of the print setup.
CadPrintGetPaperWReturns the paper w of the print setup.
CadPrintGetRectReturns the rectangle of the print setup.
CadPrintGetScaleReturns the scale of the print setup.
CadPrintGetScaleLWReturns the scale l w of the print setup.
CadPrintGetStampColorReturns the stamp colour of the print setup.
CadPrintGetStampPosReturns the stamp position of the print setup.
CadPrintGetStampSizeReturns the stamp size of the print setup.
CadPrintGetStampTextReturns the stamp text of the print setup.
CadPrintPreviewOn-screen print preview (Qt's QPrintPreviewDialog), painting each requested page through the same vector renderer.
CadPrintPutColorSets the colour of the print setup.
CadPrintPutCopiesSets the copies of the print setup.
CadPrintPutOffsetSets the offset of the print setup.
CadPrintPutOrientOrientation (0 = portrait, 1 = landscape) — operates on the current document (the no-hDwg Vecad print-setup family).
CadPrintPutRectSets the rectangle of the print setup.
CadPrintPutScaleOverall print scale (model units per paper mm; 0 = fit-to-page) + a title stamp toggle/text — convenience setters beyond the Pascal bindings.
CadPrintPutScaleLWSets the scale l w of the print setup.
CadPrintPutStampColorSets the stamp colour of the print setup.
CadPrintPutStampPosSets the stamp position of the print setup.
CadPrintPutStampSizeSets the stamp size of the print setup.
CadPrintPutStampTextSets the stamp text of the print setup.
CadPrintSetupWindows "Printer / Page Setup" dialog (Qt's QPageSetupDialog).
CadPrintToPdfPrints the drawing to a PDF file using the current print setup.
CadPrnRectAddCreates a new named print region and returns its handle.
CadPrnRectCountReturns the number of named print regions.
CadPrnRectDeleteDeletes the named print region.
CadPrnRectGetReturns the value of the named print region.
CadPrnRectGetShowReturns the show of the named print region.
CadPrnRectPrintPrints the named print region to the given device context.
CadPrnRectPutSets the value of the named print region.
CadPrnRectPutShowSets the show of the named print region.
CadRectPrintRectangle print.