- Posts: 6
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
package created from sample is Crashing
IP: 192.168.0.71
11 years 8 months ago - 11 years 8 months ago #6889
by Yeshveer
Replied by Yeshveer on topic package created from sample is Crashing
Hi ,
Can anyone in the support team help me overcome from the problem. I have been waiting since months for reply. how can we use the library in a crash free window 8 app development.
The package don't crash and would be able to make annotation on the pdf.
Can anyone in the support team help me overcome from the problem. I have been waiting since months for reply. how can we use the library in a crash free window 8 app development.
The package don't crash and would be able to make annotation on the pdf.
Last edit: 11 years 8 months ago by kobiz.
IP: 192.168.0.71
11 years 8 months ago - 11 years 8 months ago #6903
by radaee
Replied by radaee on topic package created from sample is Crashing
not know how to run the sample package.
in App.xaml.cs
at last of App.OnLaunched(), you shall add these codes:
last activation code binding to package name "2625.RadaeePDFReader"
and you need to copy cmaps.dat/umaps.dat/font sundir from Assets in Demo to your project.
and others, plz follow guide
in App.xaml.cs
at last of App.OnLaunched(), you shall add these codes:
Code:
String inst_path = Windows.ApplicationModel.Package.Current.InstalledLocation.Path;
PDFGlobal.SetCMapsPath(inst_path + "\\Assets\\cmaps.dat", inst_path + "\\Assets\\umaps.dat");
PDFGlobal.FontFileListStart();
PDFGlobal.FontFileListAdd(inst_path + "\\Assets\\font\\argbsn00lp.ttf");
PDFGlobal.FontFileListEnd();
int face_first = 0;
int face_count = PDFGlobal.GetFaceCount();
String fname = null;
while (face_first < face_count)
{
fname = PDFGlobal.GetFaceName(face_first);
if (fname != null && fname.Length > 0) break;
face_first++;
}
// set default font for fixed width font.
if (!PDFGlobal.SetDefaultFont("", "AR PL SungtiL GB", true) && fname != null)
PDFGlobal.SetDefaultFont("", fname, true);
// set default font for non-fixed width font.
if (!PDFGlobal.SetDefaultFont("", "AR PL SungtiL GB", false) && fname != null)
PDFGlobal.SetDefaultFont("", fname, false);
if (!PDFGlobal.SetAnnotFont("AR PL SungtiL GB") && fname != null)
PDFGlobal.SetAnnotFont(fname);
PDFGlobal.LoadStdFont(0, inst_path + "\\Assets\\font\\0");
PDFGlobal.LoadStdFont(1, inst_path + "\\Assets\\font\\1");
PDFGlobal.LoadStdFont(2, inst_path + "\\Assets\\font\\2");
PDFGlobal.LoadStdFont(3, inst_path + "\\Assets\\font\\3");
PDFGlobal.LoadStdFont(4, inst_path + "\\Assets\\font\\4");
PDFGlobal.LoadStdFont(5, inst_path + "\\Assets\\font\\5");
PDFGlobal.LoadStdFont(6, inst_path + "\\Assets\\font\\6");
PDFGlobal.LoadStdFont(7, inst_path + "\\Assets\\font\\7");
PDFGlobal.LoadStdFont(8, inst_path + "\\Assets\\font\\8");
PDFGlobal.LoadStdFont(9, inst_path + "\\Assets\\font\\9");
PDFGlobal.LoadStdFont(10, inst_path + "\\Assets\\font\\10");
PDFGlobal.LoadStdFont(11, inst_path + "\\Assets\\font\\11");
PDFGlobal.LoadStdFont(12, inst_path + "\\Assets\\font\\12");
PDFGlobal.LoadStdFont(13, inst_path + "\\Assets\\font\\13");
PDFGlobal.ActiveLicense(2, "Radaee", "[email protected]", "YOOW28-VS57CA-H3CRUZ-WAJQ9H-5R5V9L-KM0Y1L");
and you need to copy cmaps.dat/umaps.dat/font sundir from Assets in Demo to your project.
and others, plz follow guide
Last edit: 11 years 8 months ago by .
Time to create page: 0.346 seconds