It depends. If the platform or app has some kind of notification or tracking feature for screenshots, then they could potentially know. Otherwise, it's unlikely they'll be automatically aware.
In most cases, they might not know unless you tell them or there's some specific tracking mechanism in place for that. But generally, it's not easy for them to find out just by default.