PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Apr 26, 2024 7:54 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jul 23, 2008 7:12 pm 
Offline

Joined: Wed Jul 23, 2008 12:06 am
Posts: 1
Is there a way to determine if a mouse clicked on a MigraDoc paragraph that was rendered on a Windows Form? I guess I was wondering if there was a was to "tag" a paragraph, render the doc, and then ask what the outline coordinates of the paragraph are?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jul 24, 2008 7:32 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
MigraDoc works in two passes: a formatter pass that determines the positions of everything, then the renderer pass.
And you can tag elements.

But AFAIK anything else will be your task: convert screen co-ordinates into document co-ordinates, search the element at that position, highlight it, etc.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 384 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group