Code to Highlight Complete Line of Text in Word Document

Hi,
I am in a situation if you can kindly guide;
suppose I know I have 400 lines in my word document, and I have to highlight the 280th Line of the document, is it possible to do it by line number rather than by search text?
thanks

@hashimali,

Please ZIP and upload your sample input Word document and your expected DOCX file showing the desired output here for testing. You can create expected document by using MS Word. We will then investigate the scenario on our end and provide you code to achieve the same by using Aspose.Words.

Thank you for your response; Files attached as requiredfiles.zip (25.9 KB);
As I have shared two documents, the input file has 41 lines, and I have to highlight 38th line of the document as in output file, the line number to be highlighted will be dynamic.

@hashimali,

We are checking this scenario and will get back to you soon.

@hashimali,

We have logged your requirement in our issue tracking system. Your ticket number is WORDSNET-19662. We will further look into the details of this requirement and will keep you updated on the status of the linked issue. We apologize for any inconvenience.