Change TextRotation degrees

May I know if there is possibility to change the degrees for checking the text using TextRotation property? My text is like in 45 degrees from horizontal line, and these predefined values are not supporting to find.

Hey @scsvel,

Unfortunately this is not possible and it seems our OCR Engine does not provide any 45 degree increments for the rotate option.

You may want to file a feature request for this one.

Cheers,
Karsten

If you are working with OCR (Optical Character Recognition) engines like Tesseract or specific CAD/document APIs, you’ve likely hit a wall because many standard TextRotation properties only support 90-degree increments (0, 90, 180, 270).However, you can handle a 45-degree tilt. Since most built-in “TextRotation” properties are restricted, the solution usually involves Pre-processing or Coordinate Transformation rather than just changing a single property value.1. Image Pre-processing (Deskewing)Instead of asking the OCR to “read at 45 degrees,” it is much more effective to rotate the image itself by -45 degrees before the text detection begins.How it works: You use a library like OpenCV or Skimage to rotate the entire canvas.The Math: If your text is at $45^\circ$, rotating the image by $-45^\circ$ aligns the text pixels with the horizontal axis, making it readable by standard engines.2. Geometric Coordinate MappingIf you are working in a system like AutoCAD or PDF generation where the text is already “digital” but the search tool isn’t finding it, you need to account for the vector components.Text at a 45-degree angle follows the relationship:$$x’ = x \cos(45^\circ) - y \sin(45^\circ)$$$$y’ = x \sin(45^\circ) + y \cos(45^\circ)$$

I have had some good luck with the new Find by description recognizing text on a 45 degree angle.