Print Page | Close Window

Quick Pdf and Windows 8.1 App

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3167
Printed Date: 02 May 24 at 10:08AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Quick Pdf and Windows 8.1 App
Posted By: JMLM
Subject: Quick Pdf and Windows 8.1 App
Date Posted: 26 Aug 15 at 6:37PM
Hello,
I'm working on a windows 8.1 application C# ( V 11.15)
I've easily imported the library  and builed a project,
I have only changed
        private string SR(IntPtr data)
        {
            int size = dll.DebenuPDFLibraryStringResultLength(instanceID);
            byte[] result = new byte[size * 2];
            Marshal.Copy(data, result, 0, size * 2);
            return Encoding.Unicode.GetString(result);
        }
to
        private string SR(IntPtr data)
        {
            int size = dll.DebenuPDFLibraryStringResultLength(instanceID);
            byte[] result = new byte[size * 2];
            Marshal.Copy(data, result, 0, size * 2);
            return Encoding.Unicode.GetString(result,0,0);
        }
in DebenuPDFLibraryDLL1115.cs
i can load and  save pdf. The functions like drawbox drawtext are working.
But GetPageText returns empty.
Does anyone had this issue ?
Cheers Jim



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk