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
- grfFlags
Type: System.UInt32
- pptd
Type: System.IntPtr%
- ppPageSet
Type: System.IntPtr%
- pstgmOptions
Type: array<Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[]
- pcallback
Type: Microsoft.VisualStudio.OLE.Interop.IContinueCallback
- nFirstPage
Type: System.Int32
- pcPagesPrinted
Type: System.Int32%
- pnLastPage
Type: System.Int32%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.