How to delete text based on text orientation?

Hello,

I would like to delete the text of a page based on text orientation.
Example : delete all text with 0 as angle and keep all others text angles.
The idea is to rasterize the page without the 0 angle text.

Is it possible ?

For now I just can delete all the text like in the sample :

OperatorSelector operatorSelector = new OperatorSelector(new AsposePdf.Operators.TextShowOperator());
                // Select all text on the page
                _pdfPage.Contents.Accept(operatorSelector);
                // Delete all text
                _pdfPage.Contents.Delete(operatorSelector.Selected);

@tfipsrd

Could you please share a sample PDF as well so that we can test the scenario in our environment and address it accordingly.

Here is a pdf, on page 8 there are rotated text over the image at the bottom ob the page Space_Threat_V14_020119_sm_46p.pdf (8.6 MB)

I want to remove all the text except the rotated one

Thanks

@tfipsrd

We need to further investigation whether your requirements are possible to achieve or not. Therefore, we have logged an investigation ticket as PDFNET-50120 in our issue tracking system. We will further look into its details and let you know once it is resolved. Please be patient and give us little time.

We are sorry for the inconvenience.