次の方法で共有


IPrint.Print Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
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 _
)
'使用
Dim instance As IPrint
Dim grfFlags As UInteger
Dim pptd As IntPtr
Dim ppPageSet As IntPtr
Dim pstgmOptions As STGMEDIUM()
Dim pcallback As IContinueCallback
Dim nFirstPage As Integer
Dim pcPagesPrinted As Integer
Dim pnLastPage As Integer

instance.Print(grfFlags, pptd, ppPageSet, _
    pstgmOptions, pcallback, nFirstPage, _
    pcPagesPrinted, pnLastPage)
void Print(
    uint grfFlags,
    out IntPtr pptd,
    out IntPtr ppPageSet,
    STGMEDIUM[] pstgmOptions,
    IContinueCallback pcallback,
    int nFirstPage,
    out int pcPagesPrinted,
    out int pnLastPage
)
void Print(
    [InAttribute] unsigned int grfFlags, 
    [InAttribute] [OutAttribute] IntPtr% pptd, 
    [InAttribute] [OutAttribute] IntPtr% ppPageSet, 
    [InAttribute] [OutAttribute] array<STGMEDIUM>^ pstgmOptions, 
    [InAttribute] IContinueCallback^ pcallback, 
    [InAttribute] int nFirstPage, 
    [OutAttribute] int% pcPagesPrinted, 
    [OutAttribute] int% pnLastPage
)
abstract Print : 
        grfFlags:uint32 * 
        pptd:IntPtr byref * 
        ppPageSet:IntPtr byref * 
        pstgmOptions:STGMEDIUM[] byref * 
        pcallback:IContinueCallback * 
        nFirstPage:int * 
        pcPagesPrinted:int byref * 
        pnLastPage:int byref -> unit 
function Print(
    grfFlags : uint, 
    pptd : IntPtr, 
    ppPageSet : IntPtr, 
    pstgmOptions : STGMEDIUM[], 
    pcallback : IContinueCallback, 
    nFirstPage : int, 
    pcPagesPrinted : int, 
    pnLastPage : int
)

Parameters

.NET Framework Security

See Also

Reference

IPrint Interface

IPrint Members

Microsoft.VisualStudio.OLE.Interop Namespace