Hi there Resourceful..glad to hear that the dll might be of use.
The text dumping function do work, it just that you need to make sure that the Pdf page itself is not just scanned images. As you might had notice nowadays people have been favoring to use PDF software printer to print stuffs to PDF. This just plainly eliminates the text as it just merge everything into one big image file. So without any valid text structure it would be impossible to get any text out of it... Unless you can create an OCR shader or some sort of text detection from image then it could be possible...
As for the zooming function... the page was actually rendered on a 3d plane.. so pretty much we can just move the DB camera anywhere you like.. here is a little function ..a little bit crude but you you'll see how it can be done...(just conjured this up on the back of my head, might not function as it might be..huhuhu)
Before the loop add this three declaration:
MyToggleZoom = 0
mover# = 0
zoommode = 0
In the loop add this code:
`Zooming mode for portrait base page
if DBGetPDFWidth(1) < DBGetPDFHeight(1)
if keystate(44)=1 `Z button pressed
If MyToggleZoom = 0
zoommode = 1
MyToggleZoom = 1
Else
zoommode = 0
MyToggleZoom = 0
EndIf
endif
`the panning for zooming
if keystate(200)=1 `keypad up arrow
keymove = keymove - 1
endif
if keystate(208)=1 `keypad down arrow
keymove = keymove + 1
endif
mover# = mover# + keymove * DBGetPDFHeight(1)/80
keymove = 0
if zoommode = 0
show object 1
POSITION CAMERA 0, 0, 0
mover# = 0
endif
if zoommode = 1
show object 1
POSITION CAMERA 0, DBGetPDFHeight(1)/4 - mover#, DBGetPDFWidth(1)/1.8
endif
ENDIF `end portrait mode checks
Well this is just a simple snapshot example..maybe you can add a more intelligent camera workings and logic..
Cheers...
Life begin where ->BeginScene() end it ends at ->EndScene()..so please Present(NULL, NULL, NULL, NULL);