SnapToNearestInDoc .NET

Product: Server SDK

Product Version:11.3

Please give a brief summary of your issue:
(Think of this as an email subject)

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Is there any alternative API for SnapToNearestInDoc in .NET?

Please provide a link to a minimal sample where the issue is reproducible:

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


The SnapToNearestInDoc function you mentioned is likely a part of the Apryse SDK for .NET, used for snapping points to the nearest element in a PDF document. If you’re looking for an alternative API or method to achieve similar functionality, you might need to look into other geometry manipulation or document traversal functions available in the SDK.

Some things you can try:

  • Check the Apryse .NET SDK documentation for geometry or page element manipulation functions that might offer similar functionality.

  • Consider using coordinate transformation functions to achieve similar snapping behavior.

  • If SnapToNearestInDoc isn’t available, explore the ElementReader class to manually iterate over elements and find the nearest one.




Here are some resources that might help you:



Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello!

Thanks for reaching out. Unfortunately, we do not provide that API in our .net SDK.

To be able to assist further, could you provide a few more details for us?

  1. What is the full picture of the feature(s) you are trying to implement?
  2. Which framework are you currently using for your viewer? WPF, QT, etc?
  3. Would this be for a new viewer, or are you upgrading an existing one?

We appreciate your patience while we look into this.

1 Like

Is there any other API which can give the similar results in which i can get the points available in the drawing pdf and then i can check if the points are near by or not?
I am using Winform.

1 Like