IPrint.Print Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
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
)
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: UInt32
- pptd
Type: IntPtr%
- ppPageSet
Type: IntPtr%
- pstgmOptions
Type: array<Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[]
- pcallback
Type: Microsoft.VisualStudio.OLE.Interop.IContinueCallback
- nFirstPage
Type: Int32
- pcPagesPrinted
Type: Int32%
- pnLastPage
Type: 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.