Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9223797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:09:33+00:00 2026-06-18T04:09:33+00:00

I need to display many markers on a WPF image. The markers can be

  • 0

I need to display many markers on a WPF image. The markers can be lines, circles, squares, etc. and there can be several hundreds of them.

Both the image source and the markers data are updated every few seconds. The markers are associated with specific pixels on the image and their size should be absolute in relation to the screen (i.e. when I move the image the markers should move along with it, but if i zoom in, they should take the same space of the screen as before).

Currently, I’ve implemented this using the AdornerLayer. This solution has several problems but the most significant one is that the UI doesn’t fare well under the load even for 120 such markers.

I wanted to ask what would be the best way to go about implementing this? I thought of two solutions:

  • Inherit from Canvas and make sure it is invalidated not for every
    added marker but for a range of markers at once

  • Create a control that holds an image and change its OnDraw to draw all the markers

I would appreciate some pointers from someone with experience with a similar problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:09:35+00:00Added an answer on June 18, 2026 at 4:09 am

    Your use case looks quite specialized, so a specialized solution seems in order. I’d try a variant of your second option — extend Image, overriding its OnRender method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to display image and one button on fancybox popup but I can't
There are many instances in my work projects where I need to display the
I need to display some images which can be scrolled horizontally. Only one image
I need to create a gallery type application. Where i need display many image
I need to display how many users are browsing my site. The site is
I use the following css to display many images by one request div.image1{ backgroud:url(image.png)
If I have an array and I need to display how many times the
I want to display an icon image(of a clock ) several times to indicate
I need to build a small PDF library that will display many catalogs, the
For many of the pages in my site, i need to display the records

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.