PDF Xpansion SDK Reference

Total Page:16

File Type:pdf, Size:1020Kb

PDF Xpansion SDK Reference PDF Xpansion SDK 12 Reference soft Xpansion GmbH & Co. KG ● Königsallee 45, 44789 Bochum [email protected] ● www.soft-xpansion.com TABLE OF CONTENTS INTRODUCTION ................................................................................................................................................................ 5 System Requirements ................................................................................................................................................... 6 Installation of SDK ........................................................................................................................................................ 6 Contents of SDK package ........................................................................................................................................ 6 Reference SDK libraries in Your Projects .................................................................................................................... 7 Replace Trial License ................................................................................................................................................ 8 Update of SDK Files ................................................................................................................................................. 8 SDK Samples................................................................................................................................................................ 9 Redistribution of PDF Xpansion ..................................................................................................................................... 9 PDF XPANSION SDK ........................................................................................................................................................ 11 Getting Started .......................................................................................................................................................... 11 Load SDK Library ................................................................................................................................................... 11 SDK Entry Point ..................................................................................................................................................... 12 Using Document Viewer ........................................................................................................................................ 12 Error Handling / Exceptions .................................................................................................................................... 13 Combine, Convert, Import and Export Documents .................................................................................................. 13 Create, Edit or Explore the Page Content ................................................................................................................ 14 Use Metadata (XMP) in PDF Files ............................................................................................................................ 14 ZUGFeRD Invoices ................................................................................................................................................. 14 Document Viewer ...................................................................................................................................................... 14 Coordinate System and Unit of Measure ................................................................................................................ 15 .NET Forms Control ............................................................................................................................................... 16 .NET WPF Control ................................................................................................................................................. 18 UWP Control ........................................................................................................................................................ 20 ActiveX Control..................................................................................................................................................... 23 SX Namespace ........................................................................................................................................................... 24 IRefObject Interface / IDisposable Interface ............................................................................................................. 24 ObjPtr Class (Smart Ptr).......................................................................................................................................... 25 PDFXpansionSDK Class .......................................................................................................................................... 25 IApplication Interface ............................................................................................................................................ 26 IAppFactory Interface ............................................................................................................................................ 28 IAppSettings Interface ........................................................................................................................................... 33 IBaseDocument Interface ....................................................................................................................................... 33 ITextDocument Interface ........................................................................................................................................ 34 IImageDocument Interface ..................................................................................................................................... 35 IFragmentDocument Interface ................................................................................................................................ 35 ICompositeDocument Interface .............................................................................................................................. 35 IAcquisitionDocument Interface ............................................................................................................................. 36 ISearchProvider Interface ....................................................................................................................................... 36 IPrintProvider Interface........................................................................................................................................... 38 ISequentialStream Interface ................................................................................................................................... 41 ICryptoCert Interface ............................................................................................................................................. 42 ICryptoKey Interface .............................................................................................................................................. 42 Base Types ............................................................................................................................................................ 43 Enumerations ........................................................................................................................................................ 43 Structures ............................................................................................................................................................. 45 SX::Graphics Namespace ............................................................................................................................................ 49 IRegion Interface ................................................................................................................................................... 49 IBitmapData Data .................................................................................................................................................. 49 SX::Viewer Namespace ............................................................................................................................................... 51 IWinViewer Interface ............................................................................................................................................. 52 IViewer Interface ................................................................................................................................................... 53 IViewerCanvas ...................................................................................................................................................... 59 IViewerConfig ....................................................................................................................................................... 67 IViewableDocument .............................................................................................................................................. 67 IViewerEvents Interface / Delegate.......................................................................................................................... 68 IViewerEvent Interface ..........................................................................................................................................
Recommended publications
  • MAXPRO Microsoft Windows Patches.Book
    MAXPRO® VMS and NVR Approved Microsoft® Windows Patches Technical Notes MICROSOFT® WINDOWS PATCHES TESTED WITH MAXPRO®NVR AND MAXPRO®VMS Overview The purpose of this document is to identify the patches that have been delivered by Microsoft® Windows and which have been tested against the current shipping ver- sions of MAXPRO®NVR and MAXPRO®VMS with no adverse effects being observed. If you have questions concerning the information in this document, please contact Honeywell Technical Support. See the back cover for contact information. Windows Patches Tested with MAXPRO®NVR till the Month of: June, 2020 Windows Patches Tested with MAXPRO®VMS till the Month of: June, 2020 This document contains: Section See... • June - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on page 5 Windows 10 (Enterprise) • June - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ Client on Windows 2016 Standard and Windows 10 (Enterprise) page 5 • May - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on page 5 Windows 10 (Enterprise) • May - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ Client on Windows 2016 Standard and Windows 10 (Enterprise) page 5 • April - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ page 7 Client on Windows 2016 Standard and Windows 10 (Enterprise) • April - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on Windows 10 (Enterprise) page 7 • March - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ page 8 Client on Windows 2016 Standard and Windows 10 (Enterprise) • March - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on Windows 10 (Enterprise) page 8 • February - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ page 8 Client on Windows 2016 Standard and Windows 10 (Enterprise) • February - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on Windows 10 (Enterprise) page 8 800-19154V9-K_Microsoft Windows Patches 1 Section See..
    [Show full text]
  • (RUNTIME) a Salud Total
    Windows 7 Developer Guide Published October 2008 For more information, press only: Rapid Response Team Waggener Edstrom Worldwide (503) 443-7070 [email protected] Downloaded from www.WillyDev.NET The information contained in this document represents the current view of Microsoft Corp. on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This guide is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form, by any means (electronic, mechanical, photocopying, recording or otherwise), or for any purpose, without the express written permission of Microsoft. Microsoft may have patents, patent applications, trademarks, copyrights or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred.
    [Show full text]
  • Directx 11 Extended to the Implementation of Compute Shader
    DirectX 1 DirectX About the Tutorial Microsoft DirectX is considered as a collection of application programming interfaces (APIs) for managing tasks related to multimedia, especially with respect to game programming and video which are designed on Microsoft platforms. Direct3D which is a renowned product of DirectX is also used by other software applications for visualization and graphics tasks such as CAD/CAM engineering. Audience This tutorial has been prepared for developers and programmers in multimedia industry who are interested to pursue their career in DirectX. Prerequisites Before proceeding with this tutorial, it is expected that reader should have knowledge of multimedia, graphics and game programming basics. This includes mathematical foundations as well. Copyright & Disclaimer Copyright 2019 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at [email protected]
    [Show full text]
  • Generation Test Team System Code Cleanup Data Access
    GENERATION TEST COLUMNS Automated Unit Tests for Legacyg Code with Pex Toolbox Nikhil SachdevaSachdeva pagepage 36 Database and OR/M Tools, Oren Eini and Custom Visual Studio Tabs Scott Mitchell page 9 CLR Inside Out Rapid-but-Untested Coding CODE CLEANUP In-Process Side-by-Side Jesse Kaplan & Luiz Fernando Santos UsingUsin Agile Techniques page 12 Simple, Test-Driven Designs toto PayP Back Technical Debt Cutting Edge DavidDavid LaribeeL page 46 Live Data Binding in ASP.NET 98765432 10 AJAX 4.0 Dino Esposito page 18 Test Run DATA ACCESS Pairwise Testing with QICT Building a Desktop To-Do Application with NHibernate James McCaffrey page 28 OrenOren EiniEini page 54 Extreme ASP.NET Looking Ahead to ASP.NET 4.0 Scott Allen page 74 Windows with C++ TEAM SYSTEM Layered Windows with Direct2D BuildingBu a Visual Studio Team Kenny Kerr page 79 Going Places ExplorerExp Extension Enhancing Windows Touch BrianBrian A. Randell & Marcel de Vries page 64 Applications for Mobile Users Gus Class page 87 Concurrent Affairs Data-Parallel Patterns and PLINQ Igor Ostrovsky page 92 THIS MONTH on msdn.microsoft.com/magazine: SHAREPOINT 2010 AND BCS: USING BUSINESS CONNECTIVITY SERVICES IN SHAREPOINT 2010 Kirk Evans USABILITY IN PRACTICE: MORE THAN SKIN DEEP Charles B. Kreitzberg & Ambrose Little DECEMBER 2009 VOL 24 NO 12 1209msdn_0C1.v3.indd 1 11/12/09 9:37 AM Project6 11/5/09 2:47 PM Page 1 Project6 11/5/09 2:48 PM Page 2 When an electrochemical reaction animated the dormant cells in a very powerful egg, Gort was hatched. With special powers and abilities to infuse ordinary applications with UIs that have extreme functionality, complete usability and the “wow-factor!”, Gort empowers Killer Apps.
    [Show full text]
  • C++Builder XE5 Feature Matrix | Multi-Device, True Native App
    C++Builder® XE5 Multi-device, true native app development with C++ Feature Matrix Feature Architect Ultimate Enterprise Professional Starter INTEGRATED COMPILERS AND TOOLCHAINS Introduced in XE3! C++ 64-bit compiler for Windows X X X X Enhanced in XE3! C++ OS X compiler X X X X Enhanced in XE5! Embarcadero C++ Compiler 6.70 (bcc64) X X X X Enhanced in XE5! Embarcadero C++ Compiler 6.70 (bcc32) X X X X Enhanced in XE3! C++ command line toolchains for Windows X X X X X Enhanced in XE3! C++ command line toolchains for OS X (bccosx) X X X X Create 32-bit optimized native executables that can run on both 32 X X X X X and 64-bit Windows operating systems Enhanced in XE3! ANSI/ISO C++11 and 99 Standard language X X X X conformance and Boost support for 64-bit #pragma once support that allows for better compatibility with MSVC X X X X X and also acts as a header guard [[deprecated]] attribute to flag constructs as deprecated X X X X X Build C++ packages for 32-bit applications X X X X X Secure C library functions X X X X X Enhanced compiler switches for XML representation of source code X X X X X Custom evaluators for C++ Strings types X X X X X Linker error handling to improve memory management flexibility and X X X X X resolution APPLICATION PLATFORMS, INTEGRATED FRAMEWORKS, DESIGNERS AND SDKS Enhanced in XE3! FM Application Platform for creating 32-bit Windows applications for Windows 8, Windows 7, Windows Vista and X X X X X XP; Server 2008 and 2012.
    [Show full text]
  • Simpmarch-FCFA4B6F-D
    3/29/2019 Document 2126398.1 Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential. Oracle® Patch & Microsoft Security Updates for Simphony Report (Doc ID 2126398.1) In this Document Purpose Details Oracle Database Updates Oracle Java JRE Updates Microsoft SQL Updates Microsoft Updates Microsoft Updates - Patches released before April 2017 APPLIES TO: Oracle Hospitality Simphony First Edition Oracle Hospitality Simphony Information in this document applies to any platform. PURPOSE The Security Report contains a listing of select Oracle & Microsoft patches that are directly related to the Simphony applications and have been tested against the Simphony applications to validate there are no issues or identify any updates that should NOT be installed. The list is not inclusive of ALL Oracle & Microsoft patches. This report is updated monthly for patches released monthly and YTD cumulative DETAILS Oracle Database Updates Date Version & Simphony Results Patch Level Version(s) 3/5/2019 11.2.0.4 18.2 Observed on an environment running Oracle Databases on 12.1.0.2 2.10 After installing the Oracle Database 11.2.0.4 (22694544 ) CPU update for January 2 observed with the Simphony database instance no longer starti 1.7 An error message is generated: “Error 1053: the service did not respond to the start or contro Additionally the Windows Application log shows th Activation context generation failed for "c:\app\administrator\product\ Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e1 not be
    [Show full text]
  • Bringing GPU Acceleration to the Web Neil Trevett Khronos President NVIDIA Vice President Mobile Content
    Bringing GPU Acceleration to the Web Neil Trevett Khronos President NVIDIA Vice President Mobile Content © Copyright Khronos Group 2012 | Page 1 GPUs are Good at Many Things … Interactive ray tracing Physics simulation Gaming Battlefield 3, EA But traditionally GPUs have NOT been used for web and 2D graphics… Product design Data visualization … that’s about to change … © Copyright Khronos Group 2012 | Page 2 How Can GPUs enhance the Web? • More functionality - Helping to make HTML5 a complete apps platform - 3D graphics - WebGL - Compute - WebCL • More performance - Accelerating the bulk of web =2D - Accelerating key standards such as SVG and Canvas • Mobile computing changing the need for web acceleration Need MORE performance for TOUCH INTERACTIVITY AT LOWER POWER levels… © Copyright Khronos Group 2012 | Page 3 Mobile – a New Era in Computing 140 Cumulative Shipments 120 iOS & Android MacOS & Windows 100 80 Mobile industry is 60 20 Years faster to 100M/year shipments than PC 40 Units Millions in 20 0 Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 Year 7 Year 8 Year 9 Source: Gartner, Apple, NVIDIA © Copyright Khronos Group 2012 | Page 4 Mobile Thermal Design Point 10” Screen takes 1-2W Resolution makes a difference! 7” Screen The iPad3 screen takes up to 8W 4-5” Screen takes takes 1W 250-500mW 2-4W 4-7W 6-10W 30-90W Typical max system power levels before thermal failure Even as battery technology improves - these thermal limits remain © Copyright Khronos Group 2012 | Page 5 How to Save Power? Write 32-bits to Memory 600pJ • Much more expensive
    [Show full text]
  • WINDOWS SURFACES Microsoft’S New Client OS Is Fl Ying High, but Should You 7 Rush to Migrate Your Apps to Windows 7? OCTOBER 2009 Volume 19, No
    VisualStudioMagazine.com PLUS Four ways to synchronize threads with your app’s UI Inside Microsoft’s .NET Rx Framework WINDOWS SURFACES Microsoft’s new client OS is fl ying high, but should you 7 rush to migrate your apps to Windows 7? OCTOBER 2009 Volume 19, No. 10 2009 Volume OCTOBER Project5 8/24/09 2:17 PM Page 1 Project5 8/24/09 2:18 PM Page 2 Project6 8/13/09 12:37 PM Page 1 ESRI® Developer Network Integrate Mapping and GIS into Your Applications Give your users an effective way to visualize and analyze their data so they can make more informed decisions and solve business problems. By subscribing to the ESRI® Developer Network (EDN SM), you have access to the complete ESRI geographic information system (GIS) software suite for developing and testing applications on every platform. Whether you’re a desktop, mobile, server, or Web developer, EDN provides the tools you need to quickly and cost-effectively integrate mapping and GIS into your applications. Subscribe to EDN and leverage the power of GIS to get more from your data. Visit www.esri.com/edn. Copyright © 2009 ESRI. All rights reserved. The ESRI globe logo, ESRI, EDN, and www.esri.com are trademarks, registered trademarks, or service marks of ESRI in the United States, the European Community, or certain other jurisdictions. Other companies and products mentioned herein may be trademarks or registered trademarks of their respective trademark owners. October 2009 // Volume 19 // No. 10 Contents { FRAMEWORKS } 14 Michael Desmond, Editor in Chief, Visual Studio Magazine All I Really Need to Know In 1986, author Robert Fulghum published FEATURES the series of essays entitled “All I Really 14 Windows 7 Surfaces Need to Know I Learned in Kindergarten.” The book posited that success in adult life Microsoft’s new client OS is flying high, but does it really make sense can, in fact, come by following the guidance to migrate your apps to Windows 7? we were all given as children.
    [Show full text]
  • Boosting Graphics-Rendering Performance in Windows Forms
    Boosting graphics-rendering performance in Windows Forms Christopher Ireland Steema Software September 2010 Abstract The performance of GDI+ in graphics-intensive Windows Forms applications can greatly reduce their responsiveness. Here I demonstrate that the use of Direct2D via SlimDX can substantially reduce some of these bottlenecks. Keywords: Windows Forms, performance, GDI+, Direct2D, SlimDX, TeeChart Introduction If you find that the graphics-rendering performance of Windows Forms is a problem for you, a newly available graphics API may be the solution you are looking for. While WPF is presented as a higher-performance alternative for.NET developers willing to re-design their existing applications, there is a technology gap for those with large codebases based on Windows Forms. Microsoft’s Direct2D is a hardware-accelerated, immediate-mode 2-D graphics API that provides high performance and high quality rendering for 2-D geometry, bitmaps, and text. SlimDX is a free open source framework designed to be an efficient, simple, and lean wrapper that exposes Direct2D to managed code. Together, this new graphics API can lever your existing Windows Forms code to create applications that render faster than either GDI+ or even WPF. Graphics performance in Windows Forms The clearest way to see the effects of different graphics API on performance is by the use of a sample application. Such an example can be downloaded here. To run this example you will need to install SlimDX and be working on a Direct2D compatible operating system (Windows Vista,
    [Show full text]
  • Windows 7 –KB Artikelliste 2009-2015
    Windows 7 – KB Artikelliste 2009-2015 Mai 2015 3020370 Update the copy of the Cmitrust.dll file in Windows Q3020370 KB3020370 Mai 6, 2015 3022345 Update to enable the Diagnostics Tracking Service in Windows Q3022345 KB3022345 Mai 5, 2015 3062591 Microsoft security advisory: Local Administrator Password Solution (LAPS) now available: Mai 1, 2015 Q3062591 KB3062591 Mai 1, 2015 April 2015 3045999 MS15-038: Description of the security update for Windows: April 14, 2015 Q3045999 KB3045999 April 30, 2015 3042826 POSIX subsystem crashes when you try to create a Telnet session in Windows Q3042826 KB3042826 April 30, 2015 3013531 Update to support copying .mkv files to Windows Phone from a computer that is running Windows Q3013531 KB3013531 April 30, 2015 890830 The Microsoft Windows Malicious Software Removal Tool helps remove specific, prevalent malicious software from computers that are running supported versions of Windows Q890830 KB890830 April 30, 2015 3046480 Update helps to determine whether to migrate the .NET Framework 1.1 when you upgrade Windows 8.1 or Windows 7 Q3046480 KB3046480 April 29, 2015 3045645 Update to force a UAC prompt when a customized .sdb file is created in Windows Q3045645 KB3045645 April 29, 2015 3033092 The Microsoft .NET Framework 4.6 RC (Web Installer) for Windows Vista SP2, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2008 SP2, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2 Q3033092 KB3033092 April 29, 2015 3033091 The Microsoft .NET Framework 4.6 RC (Offline Installer)
    [Show full text]
  • High-Performance Graphics with Directx in Racket∗
    Information Engineering Express International Institute of Applied Informatics 2019, Vol. 5, No. 2, 83 - 98 High-Performance Graphics with DirectX in Racket∗ Antoine Bossard † Abstract Parallel processing is ubiquitous with modern computer systems. It has been supported by two major hardware advances: on the one hand, computer CPUs nowadays include several processing cores – even mobile device CPUs. On the other hand, the adoption of parallel processing has been bolstered in recent years thanks to the parallel processing capacities of graphics processing units (GPUs). General-purpose computing on graphics processing units (GPGPU) is one example of the versatile capacity of GPUs. Relying on the Microsoft DirectX 12 framework, we propose in this paper a novel approach to enable parallel processing for graphical rendering on both the CPU and GPU for the functional programming language Racket (formerly PLT Scheme). Importantly, this is achieved without compromising the usability and programmer-friendliness of Racket. Significant improvements are observed from the performance evaluation experiments with respect to the execution time (×3 speed-up in some cases), the CPU utilisation time (reduced by as much as 80% in some scenarios) and the frame rate in the case of animated graphics. Keywords: GPU, parallel processing, functional, programming, Scheme, Windows, Win32 1 Introduction Recent advances in semiconductors have enabled the embedding of numerous processing cores into graphics processing units (GPUs), and the optimised structure of GPUs makes them suitable for parallel processing [2]. From a computer system standpoint, this leads to augmented parallel processing by concretely offloading tasks from the CPU to the graphics hardware. As of 2019, GPUs include thousands of processing cores (e.g.
    [Show full text]
  • Microsoft Game Development Guide September 2017 Edition
    Your Game. Any Screen. Y X B A Microsoft Game Development Guide September 2017 Edition Microsoft Azure Windows Mixed Reality Table of contents Introduction to game development for the Universal Windows Platform (UWP) 3 Game development resources 4 Concept and planning 10 Prototype and design 21 Production 29 Submitting and publishing your game 33 Game lifecycle management 35 Adding Xbox Live to your game 37 Additional resources 40 Dream.Build.Play 41 Welcome to the Windows 10 Game Development Guide! This guide provides an end-to-end collection of the resources and information you’ll need to develop a Universal Windows Platform (UWP) game. Introduction to game development for the Universal Windows Platform (UWP) When you create a Windows 10 game, you have the opportunity to reach millions of players worldwide across phone, PC, and Xbox One. With Xbox on Windows, Xbox Live, cross-device multiplayer, an amazing gaming community, and powerful new features like the Universal Windows Platform (UWP) and DirectX 12, Windows 10 games thrill players of all ages and genres. The new Universal Windows Platform (UWP) delivers compatibility for your game across Windows 10 devices with a common API for phone, PC, and Xbox One, along with tools and options to tailor your game to each device experience. This guide provides an end-to-end collection of information and resources that will help you as you develop your game. The sections are organized according to the stages of game development, so you’ll know where to look for information when you need it. To get started, the Game development resources section provides a high-level survey of documentation, programs, and other resources that are helpful when creating a game.
    [Show full text]