This function has WAY too many parameters. And nullable bools are problematic - it's very hard to tell when looking at a call what the second "true" means, and its easy to get wrong.

I would recommend enums instead of the Booleans, and consider using a parameter object to pass settings together as one object rather than disconnected parameters.