question

JohnHagala-6005 avatar image
JohnHagala-6005 asked ·

Trying to get DisplayRegion from 16299

We've got a problem right now where we're trying to get WorkAreaOffset from https://docs.microsoft.com/en-us/uwp/api/windows.ui.windowmanagement.displayregion?view=winrt-18362

because we're trying to detect the viewability of an ad on a second monitor.

However, our current Target version is 16299 for business reasons.

Is there a way to get information on the viewability of a control in 16299?

Thanks!

windows-uwpwindows-uwp-runtime
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichardZhang-MSFT avatar image
RichardZhang-MSFT answered ·

Hello,

Welcome to Microsoft Q&A.

DisplayRegion is a newly added API in 1903 (18362). In the previous version, there was no related implementation. Currently you cannot make related calls in the lower version.

Thanks.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.