Search found 19 matches

by missionRoom
Wed Jul 03, 2024 12:29 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Serialize Annotations to XML
Replies: 1
Views: 39947

Serialize Annotations to XML

I'm trying to serialize a custom class that contains an AnnotationDataCollection using the below Serialize method. I keep getting an error regarding the AnnotationComment. Any way around this?

Serialize Method
public static string SerializeToString(object obj)
{
try
{
XmlSerializer ...
by missionRoom
Wed Apr 03, 2024 11:45 am
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Custom Undo Action
Replies: 1
Views: 41674

Custom Undo Action

Hi,

I'm trying to implement a custom undo action. I want to add a custom action to chain on undos, so it happens at the relevant time
e.g. I draw an annotation, then I add my custom undo action, then I draw another annotation. If I press undo once, the annotation is undrawn, press it again and my ...
by missionRoom
Mon Jan 29, 2024 6:22 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: (WPF) Large image annotations causing lag
Replies: 4
Views: 56453

Re: (WPF) Large image annotations causing lag

I'm using V10.1.16.1, so it sounds like an upgrade may fix our problem.
Thanks for the help
by missionRoom
Mon Jan 29, 2024 4:21 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: (WPF) Large image annotations causing lag
Replies: 4
Views: 56453

Re: (WPF) Large image annotations causing lag

Hi,

Thanks for replying.

I've created a simple example, and haven't entirely been able to replicate the issue. But it has helped me work out what's causing the issue, it's the UndoManager/UndoMonitor. I initialise them as below when the image has loaded, if I omit this, then the issue completely ...
by missionRoom
Mon Jan 29, 2024 1:00 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: (WPF) Large image annotations causing lag
Replies: 4
Views: 56453

(WPF) Large image annotations causing lag

Hi,

When I add a large image annotation (approx 1000px x 1250px) to the WpfAnnotationViewer, then save and reload the PDF, I get lag when adding a new annotations. It also seems to happen, when I add a lot of small annotations.
The lag is most obvious when adding a freehand pen annotation, there ...
by missionRoom
Wed Aug 03, 2022 3:39 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Disable selection of specific annotations
Replies: 1
Views: 11769

Disable selection of specific annotations

Hi,

Is it possible to disable selection of specific annotations? I'm using text annotations as labels on top of ellipse annotations, I want the user to select the ellipse annotation and not the text annotation. At the moment they can't select the ellipse annotation as it selects the text annotation ...
by missionRoom
Fri Nov 19, 2021 1:50 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Close polygon when finished
Replies: 1
Views: 11743

Close polygon when finished

Hi,
Is there a way to close a polygon when the user finishes building it, if it's not already closed?
Thanks,
by missionRoom
Mon Feb 10, 2020 4:03 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Image painting
Replies: 3
Views: 11338

Re: Image painting

Sent a project to support. Thanks, Alexander
by missionRoom
Mon Feb 10, 2020 1:36 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Image painting
Replies: 3
Views: 11338

Image painting

My project involves showing and hiding the annotation viewer, and changing the focussed image when the viewer isn't visible. If I change the focused index and then show the viewer, the old image displays for a second before the new one is painted.

Is there a way to only draw the new image? I'm ...
by missionRoom
Thu Feb 06, 2020 2:28 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Set annotation location
Replies: 10
Views: 19901

Re: Set annotation location

I have now fixed it, moved the CanMove = false, etc, to the AnnotationBuildingFinished event. Now works as expected. Thanks for your help


private void annotationViewer_AnnotationBuildingFinished(object sender, AnnotationViewEventArgs e)
{
if (e.AnnotationView != null)
{
// Prevent the ...