📄 pagelayoutcontrol.tlh
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (7482a12a).
//
// PageLayoutControl.tlh
//
// C++ source equivalent of Win32 type library c:/Program Files/ArcGis/bin/PageLayoutControl.ocx
// compiler-generated file created 08/02/06 at 09:01:56 - DO NOT EDIT!
//
// Cross-referenced type libraries:
//
// #import "C:\Program Files\ArcGIS\com\esriSystemUI.olb"
// #import "C:\Program Files\ArcGIS\com\esriCarto.olb"
// #import "C:\Program Files\ArcGIS\com\esriGeometry.olb"
// #import "C:\Program Files\ArcGIS\com\esriOutput.olb"
// #import "C:\Program Files\ArcGIS\com\esriSystem.olb"
//
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
//
// Forward references and typedefs
//
struct __declspec(uuid("93840439-2ba9-4dfe-a431-9a13b02bde9e"))
/* dual interface */ IPageLayoutControl;
struct __declspec(uuid("af899892-4db1-4f01-bd4e-b6ef6535d13f"))
/* dual interface */ IPageLayoutControl2;
struct __declspec(uuid("a93d0198-9b13-44d0-a565-f42a2110a8bc"))
/* dispinterface */ IPageLayoutControlDefault;
struct __declspec(uuid("8b476bc5-4e54-4105-a777-33cda2ca6672"))
/* dispinterface */ IPageLayoutControlEvents;
struct /* coclass */ PageLayoutControl;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(IPageLayoutControl, __uuidof(IPageLayoutControl));
_COM_SMARTPTR_TYPEDEF(IPageLayoutControl2, __uuidof(IPageLayoutControl2));
_COM_SMARTPTR_TYPEDEF(IPageLayoutControlDefault, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(IPageLayoutControlEvents, __uuidof(IDispatch));
//
// Type library items
//
struct __declspec(uuid("93840439-2ba9-4dfe-a431-9a13b02bde9e"))
IPageLayoutControl : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_BackColor (
OLE_COLOR pclr ) = 0;
virtual HRESULT __stdcall get_BackColor (
OLE_COLOR * pclr ) = 0;
virtual HRESULT __stdcall put_BorderStyle (
enum esriControlsBorderStyle pstyle ) = 0;
virtual HRESULT __stdcall get_BorderStyle (
enum esriControlsBorderStyle * pstyle ) = 0;
virtual HRESULT __stdcall put_Enabled (
VARIANT_BOOL pbool ) = 0;
virtual HRESULT __stdcall get_Enabled (
VARIANT_BOOL * pbool ) = 0;
virtual HRESULT __stdcall put_Appearance (
enum esriControlsAppearance pappearance ) = 0;
virtual HRESULT __stdcall get_Appearance (
enum esriControlsAppearance * pappearance ) = 0;
virtual HRESULT __stdcall put_MousePointer (
enum esriControlsMousePointer ppointer ) = 0;
virtual HRESULT __stdcall get_MousePointer (
enum esriControlsMousePointer * ppointer ) = 0;
virtual HRESULT __stdcall putref_MouseIcon (
IPictureDisp * ppMouseIcon ) = 0;
virtual HRESULT __stdcall get_MouseIcon (
IPictureDisp * * ppMouseIcon ) = 0;
virtual HRESULT __stdcall get_hWnd (
long * hWnd ) = 0;
virtual HRESULT __stdcall AboutBox ( ) = 0;
virtual HRESULT __stdcall get_CurrentTool (
struct ITool * * pTool ) = 0;
virtual HRESULT __stdcall putref_CurrentTool (
struct ITool * pTool ) = 0;
virtual HRESULT __stdcall get_PageLayout (
struct IPageLayout * * pPageLayout ) = 0;
virtual HRESULT __stdcall putref_PageLayout (
struct IPageLayout * pPageLayout ) = 0;
virtual HRESULT __stdcall get_ActiveView (
struct IActiveView * * ActiveView ) = 0;
virtual HRESULT __stdcall get_Extent (
struct IEnvelope * * Extent ) = 0;
virtual HRESULT __stdcall put_Extent (
struct IEnvelope * Extent ) = 0;
virtual HRESULT __stdcall get_FullExtent (
struct IEnvelope * * FullExtent ) = 0;
virtual HRESULT __stdcall put_FullExtent (
struct IEnvelope * FullExtent ) = 0;
virtual HRESULT __stdcall get_Page (
struct IPage * * ppPage ) = 0;
virtual HRESULT __stdcall get_GraphicsContainer (
struct IGraphicsContainer * * ppGraphicsContainer ) = 0;
virtual HRESULT __stdcall PrintPageLayout (
short StartPage,
short EndPage,
double Overlap ) = 0;
virtual HRESULT __stdcall get_Printer (
struct IPrinter * * ppPrinter ) = 0;
virtual HRESULT __stdcall putref_Printer (
struct IPrinter * ppPrinter ) = 0;
virtual HRESULT __stdcall get_TrackCancel (
struct ITrackCancel * * ppTrackCancel ) = 0;
virtual HRESULT __stdcall putref_TrackCancel (
struct ITrackCancel * ppTrackCancel ) = 0;
virtual HRESULT __stdcall Pan ( ) = 0;
virtual HRESULT __stdcall CenterAt (
struct IPoint * centerPoint ) = 0;
virtual HRESULT __stdcall TrackRectangle (
struct IEnvelope * * rectangle ) = 0;
virtual HRESULT __stdcall AddElement (
struct IElement * pElement,
VARIANT Geometry,
VARIANT Symbology,
VARIANT Name,
long ZOrder ) = 0;
virtual HRESULT __stdcall LocateFrontElement (
double pageX,
double pageY,
double tolerance,
struct IElement * * element ) = 0;
virtual HRESULT __stdcall FindElementByName (
BSTR Name,
long Occurence,
struct IElement * * element ) = 0;
virtual HRESULT __stdcall LoadMxFile (
BSTR filename,
VARIANT password = vtMissing ) = 0;
virtual HRESULT __stdcall get_OleDropEnabled (
VARIANT_BOOL * value ) = 0;
virtual HRESULT __stdcall put_OleDropEnabled (
VARIANT_BOOL value ) = 0;
virtual HRESULT __stdcall CheckMxFile (
BSTR filename,
VARIANT_BOOL * result ) = 0;
virtual HRESULT __stdcall ZoomToWholePage ( ) = 0;
virtual HRESULT __stdcall get_PrinterPageCount (
double Overlap,
short * PageCount ) = 0;
virtual HRESULT __stdcall Refresh (
enum esriViewDrawPhase phase,
VARIANT layerOrElement = vtMissing,
VARIANT envelope = vtMissing ) = 0;
virtual HRESULT __stdcall FromPagePoint (
struct IPoint * pt,
long * x,
long * y ) = 0;
virtual HRESULT __stdcall ToPagePoint (
long x,
long y,
struct IPoint * * point ) = 0;
};
struct __declspec(uuid("af899892-4db1-4f01-bd4e-b6ef6535d13f"))
IPageLayoutControl2 : IPageLayoutControl
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_CustomProperty (
VARIANT * pVal ) = 0;
virtual HRESULT __stdcall put_CustomProperty (
VARIANT pVal ) = 0;
virtual HRESULT __stdcall SuppressResizeDrawing (
VARIANT_BOOL suppressResize,
long resizeHWnd ) = 0;
virtual HRESULT __stdcall get_DocumentFilename (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_DocumentFilename (
BSTR pVal ) = 0;
virtual HRESULT __stdcall get_Object (
IDispatch * * ppDispatch ) = 0;
virtual HRESULT __stdcall get_KeyIntercept (
long * pVal ) = 0;
virtual HRESULT __stdcall put_KeyIntercept (
long pVal ) = 0;
};
struct __declspec(uuid("a93d0198-9b13-44d0-a565-f42a2110a8bc"))
IPageLayoutControlDefault : IDispatch
{};
struct __declspec(uuid("8b476bc5-4e54-4105-a777-33cda2ca6672"))
IPageLayoutControlEvents : IDispatch
{};
struct __declspec(uuid("ea0c208f-0459-45ae-a5aa-48943ac8ab68"))
PageLayoutControl;
// [ default ] dispinterface IPageLayoutControlDefault
// [ default, source ] dispinterface IPageLayoutControlEvents
// [ source ] interface ITOCBuddyEvents
// interface IPageLayoutControl
// interface IPageLayoutControl2
// interface ITOCBuddy
// interface IToolbarBuddy
// interface IMxdContents
// interface IConnectionPointContainer
// interface IPersistStreamInit
// interface IPersist
// interface ISupportErrorInfo
//
// Named GUID constants initializations
//
extern "C" const GUID __declspec(selectany) LIBID_esriPageLayoutControl =
{0xba01fac9,0x2ab7,0x4cc9,{0x97,0x32,0x93,0x83,0x40,0x40,0x8a,0xce}};
extern "C" const GUID __declspec(selectany) IID_IPageLayoutControl =
{0x93840439,0x2ba9,0x4dfe,{0xa4,0x31,0x9a,0x13,0xb0,0x2b,0xde,0x9e}};
extern "C" const GUID __declspec(selectany) IID_IPageLayoutControl2 =
{0xaf899892,0x4db1,0x4f01,{0xbd,0x4e,0xb6,0xef,0x65,0x35,0xd1,0x3f}};
extern "C" const GUID __declspec(selectany) DIID_IPageLayoutControlDefault =
{0xa93d0198,0x9b13,0x44d0,{0xa5,0x65,0xf4,0x2a,0x21,0x10,0xa8,0xbc}};
extern "C" const GUID __declspec(selectany) DIID_IPageLayoutControlEvents =
{0x8b476bc5,0x4e54,0x4105,{0xa7,0x77,0x33,0xcd,0xa2,0xca,0x66,0x72}};
extern "C" const GUID __declspec(selectany) CLSID_PageLayoutControl =
{0xea0c208f,0x0459,0x45ae,{0xa5,0xaa,0x48,0x94,0x3a,0xc8,0xab,0x68}};
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -