PDFNet xamarin ios delete

Hello,

Is there a way to disable 'delete' in PDFNet?

Thanks & Regards,
Jan Schilder

Could you please clarify what you mean by delete? Do you mean delete annotation?

Most likely the answer to your question is modifying the tools code included in the SDK.

Hello Ryan,

When someone draws a line for example, they should not be able to delete it.
When you choose the eraser you can delete it, but you can also click on the line and select delete.
Op zaterdag 30 januari 2016 00:00:12 UTC+1 schreef Ryan:

Could you please clarify what you mean by delete? Do you mean delete annotation?

Most likely the answer to your question is modifying the tools code included in the SDK.

By default, we allow all types of annotation be deleted by clicking on it.

If this behavior is not desired, you will need to modify the tools source code included in the SDK.

For Xamarin.iOS, you will need to modify the original PDFViewCtrlTools source code in Objective-C, then bind it back to C# using the binding project (samples\PDFNetiOSXamarinSample\Tools) provided inside the SDK.