Rotate report before print
Is there possibility to rotate entire report by 180° before print in code?
If not, perhaps is there possibility to rotate project by 180° ?
This discussion has been closed.
Is there possibility to rotate entire report by 180° before print in code?
If not, perhaps is there possibility to rotate project by 180° ?
Comments
Hello!
Iterate recursively through `report.AllObjects` in a loop up to `Prepare()` and set the `Angle` property of each `TextObject` and `BarcodeObject` to 180 (and mirror the coordinates: `PageWidth - Left - Width`, `PageHeight - Top - Height`).
Alternatively, export the prepared report as a high-DPI image (ImageExport) or PDF, and rotate the resulting bitmap (RotateFlip (RotateFlipType.Rotate180FlipNone)) or the PDF pages before sending them to print (for label printers, simply ticking the ‘Rotate 180°’ box in the print driver is often sufficient).