Istylepdf interface object must know the application of the series

Source: Internet
Author: User

Istylepdf is a COM component based on ActiveX technology that can be embedded in various applications such as B/S or C/s structures on Windows systems. We are most familiar with the integration of COM components through a browser,


Istylepdf Controls (hereinafter referred to as controls) support display in a variety of mainstream browsers (Ie/chrome/firefox, etc.). Various languages are also supported to invoke COM object interfaces. Although the function is so powerful, we want to use


Well, you have to be familiar with the interfaces of COM objects. Here's our focus, a series of articles explaining each COM object in detail to help users develop a variety of applications skillfully.


The control's COM object is a tree-like structure that can be seen in our object structure diagram. The first thing to explain is the top-level object application.



Application is the top-level object of the control and is the portal for the entire platform application. With this object, we can manipulate other objects in the application.


For example, the integration of <object id= "Istylepdf" width= "100%" height= "100%" classid= "clsid:7017318c-bc50-4daf-9e4a-10ac8364c315" in the script ></object>. Application to


The image refers to the <object> with ID number istylepdf.


1, get the version number of the control, you can get alert (istylepdf.version);


2. The settings control is not visible in the browser: istylepdf.visible=false;


3, set the control full screen display: Istylepdf.fullscreen = true;


The object is primarily used to get other collection objects such as:

Options: Configuration option

Tools: A tool collection that refers to a class of mutually exclusive tools on a toolbar that can only have one tool selected. such as (hand type, text selection, annotations, straight lines, etc.)

Images: A picture collection that refers to a picture used by a toolbar or a button on a menu. A custom toolbar button or menu that can be added to the icon by this collection

ISTYLEPDF.IMAGES.ADD ("E:\\istylepdf\\idb_bmp_arrow_24.png", menuid); Specifies an icon for a menu ID.

Cursors: The cursor set, which refers to the mouse cursor state.

COMAddins: Plugin collection, which refers to some of our standard plugins and user-defined plugins.

Document: A collection of documents that refers to the collection object for all documents that are open in the control. This collection object allows you to enumerate all the currently open documents.


The other is primarily the event interface, where one event is familiar to the person who needs to develop the plugin.

Onaddineventinvoke (View, Addin, WParam, LParam);


This event is a forwarded event that is specifically used to forward events for other plug-ins. Otherwise, the script will not be able to receive plug-in events.


There is nothing to understand, can add q:2732390655


Istylepdf interface object must know the application of the series

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.