IPrint.Print 方法

命名空间:  Microsoft.VisualStudio.OLE.Interop
程序集:  Microsoft.VisualStudio.OLE.Interop(在 Microsoft.VisualStudio.OLE.Interop.dll 中)

语法

声明
Sub Print ( _
    grfFlags As UInteger, _
    <OutAttribute> ByRef pptd As IntPtr, _
    <OutAttribute> ByRef ppPageSet As IntPtr, _
    <OutAttribute> pstgmOptions As STGMEDIUM(), _
    pcallback As IContinueCallback, _
    nFirstPage As Integer, _
    <OutAttribute> ByRef pcPagesPrinted As Integer, _
    <OutAttribute> ByRef pnLastPage As Integer _
)
void Print(
    uint grfFlags,
    out IntPtr pptd,
    out IntPtr ppPageSet,
    STGMEDIUM[] pstgmOptions,
    IContinueCallback pcallback,
    int nFirstPage,
    out int pcPagesPrinted,
    out int pnLastPage
)

参数

.NET Framework 安全性

请参见

参考

IPrint 接口

Microsoft.VisualStudio.OLE.Interop 命名空间