www.mxdraw.com
内容索引主面
前一个向上下一个
IMxDrawPrint::PrintDialog 方法

显示打印打对象话框

IDL
[helpstring("method PrintDialog")]
HRESULT PrintDialog();

例如: C#代码实现,显示打印对象框,并指定默认打印区域

            MxDrawResbuf param = new MxDrawResbuf();
            MxDrawPoint pt1 = new MxDrawPoint();
            MxDrawPoint pt2 = new MxDrawPoint();

            // 设置打印对话框默认的,打印范围 ,10,10,   100,100
            pt1.x =  10;
            pt1.y =  10;

            pt2.x =  100;
            pt2.y =  100;
            param.AddPoint(pt1);
            param.AddPoint(pt2);

            axMxDrawX1.SendStringToExecuteEx("Plot", param);
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!