mozilla
Your Search Results

    NPEmbedPrint

    この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

    « Gecko Plugin API Reference « Plug-in Side Plug-in API

    Summary

    Substructure of NPPrint that contains platform-specific information used during embedded mode printing.

    Syntax

    typedef struct _NPEmbedPrint
    {
        NPWindow window;
        void*    platformPrint;  /* Platform-specific */
    } NPEmbedPrint;
    

    Fields

    The data structure has the following fields:

    window
    The NPWindow the plug-in should use for printing.
    platformPrint
    Additional platform-specific printing information.

    Description

    The NPP_Print function passes a pointer to an NPPrint object (previously allocated by the browser) to the plug-in. The NPEmbedPrint structure is used when the mode field of NPPrint is set to NP_EMBED.

    Unix

    The plug-in location and size in the NPWindow are in page coordinates (720/ inch), but the printer requires point coordinates (72/inch).

    See Also

    NPFullPrint, NP_Port, NPP_Print, NPPrint, NPPrintCallbackStruct

    ドキュメントのタグと貢献者

    タグ: 
    Contributors to this page: Pmash
    最終更新者: Pmash,