|
|
Ok. No problem I can call the GetByName method afterward. I was just looking to optimize if possible.
|
|
|
Originally Posted by: pmilin  Is there a way to turn that handle into a destination.
Unfortunately, a suitable constructor has the Internal modifier. So only through Reflection.
|
|
|
Thanks. That seems to do the trick.
Is there a way to turn that handle into a destination.
|
|
|
Try this Code:IntPtr handle = Pdfium.FPDF_GetNamedDestByName(doc.Handle, name);
if (handle == IntPtr.Zero)
//The named destination is absent.
|
|
|
When looking for named destinations in a pdf using the Document.NamedDestinations.GetByName() method, it takes a long time to return if the destination cannot be found. I have a doc with thousands of destinations. If the destination is found, it returns quickly.
Is there a better way to determine if the destination exists before getting it? Using the Item[String] property is slow as well.
|
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close