Outline Actions

Outline Actions

Forum member · Jul 16, 2009
Once I've loaded an outline list from a PDF file, how do I determine what the bookmark's action type is? I've tried figuring it out with the following code, but it doesn't work. What am I missing? Private Function ActionTypeToString(ByRef oAction As ceTe.DynamicPDF.Action) As String Dim sActionType As String If TypeOf oAction Is ceTe.DynamicPDF.Destination Then sActionType = "Destination" ElseIf TypeOf oAction Is ceTe.DynamicPDF.JavaScriptAction Then sActionType = "JavaScriptAction" ElseIf TypeOf oAction Is ceTe.DynamicPDF.PageElements.Forms.ResetAction Then sActionType = "ResetAction" ElseIf TypeOf oAction Is ceTe.DynamicPDF.PageElements.Forms.SubmitAction Then sActionType = "SubmitAction" ElseIf TypeOf oAction Is ceTe.DynamicPDF.UrlAction Then sActionType = "UrlAction" ElseIf TypeOf oAction Is ceTe.DynamicPDF.XYDestination Then sActionType = "XYDestination" ElseIf TypeOf oAction Is ceTe.DynamicPDF.ZoomDestination Then sActionType = "ZoomDestination" Else sActionType = "Unknown" End If Return sActionType End Function Thanks, Dave

Re: Outline Actions

Support · Jul 16, 2009
Hello Dave, We will do some testing on this issue and we will post something as soon as we have our test results. Thanks, ceTe Software Support Team.

Re: Outline Actions

Support · Jul 28, 2009
Hello Dave, Currently it is not possible to get the action type from the action object getting from an existing PDF document. We will add this feature to our wish list and we may add this in a future version of our product but we do not have any immediate plans on this. Thanks, ceTe Software Support Team.