Hi,
I want to display images or pdfs in my program. Because I only want to show them, I use the gdViewer-object.
The loading with
Get ComDisplayFromFile of oComGdViewer1 "C:\~Scan\@scan.jpg" to iOK
or Get ComDisplayFromPdfFile of oComGdViewer1 "C:\~Scan\~Probe.pdf" "" to iOK
doesn't cause any problems.
But what I need ist the right way to close the files, so they aren't locked in my system.
I've tried the
Send ComClear of oComGdViewer1
but this causes a black viewer-object and if I move the scrollbars, the image is shown again and opened.
I've looked in the big documentation, but I haven't found the right command.
I hove, someone of you can give me the missing command.
Thx
Roman
PS: Don't wonder about the stange syntax of my program. It is programmes with Visual Dataflex.
How to close a file displqayed with gdViewer
Re: How to close a file displqayed with gdViewer
Hi,
You should try ComCloseImage
Kind regards,
Loïc
You should try ComCloseImage
Kind regards,
Loïc
Who is online
Users browsing this forum: Semrush [Bot] and 1 guest