Kindly provide us with more details about removing the parts from nuget package. Do you mean removing the files installed as part of the SfPdfViewer nuget package as shown below?
Or removing the code in the SfPdfViewer assembly related to features such as text search, annotations, bookmarks?
Also please provide the following details.
1. Platform in which you want to achieve this requirement.
2. The file size of the application in the desired platforms
These details will help us understand the problem better and provide you with an appropriate solution.