共用方式為


IPrint.Print Method

Definition

public:
 void Print(System::UInt32 grfFlags, [Runtime::InteropServices::Out] IntPtr % pptd, [Runtime::InteropServices::Out] IntPtr % ppPageSet, cli::array <Microsoft::VisualStudio::OLE::Interop::STGMEDIUM> ^ pstgmOptions, Microsoft::VisualStudio::OLE::Interop::IContinueCallback ^ pcallback, int nFirstPage, [Runtime::InteropServices::Out] int % pcPagesPrinted, [Runtime::InteropServices::Out] int % pnLastPage);
public void Print (uint grfFlags, out IntPtr pptd, out IntPtr ppPageSet, Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[] pstgmOptions, Microsoft.VisualStudio.OLE.Interop.IContinueCallback pcallback, int nFirstPage, out int pcPagesPrinted, out int pnLastPage);
abstract member Print : uint32 * nativeint * nativeint * Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[] * Microsoft.VisualStudio.OLE.Interop.IContinueCallback * int * int * int -> unit
Public Sub Print (grfFlags As UInteger, ByRef pptd As IntPtr, ByRef ppPageSet As IntPtr, pstgmOptions As STGMEDIUM(), pcallback As IContinueCallback, nFirstPage As Integer, ByRef pcPagesPrinted As Integer, ByRef pnLastPage As Integer)

Parameters

grfFlags
UInt32
pptd
IntPtr

nativeint

ppPageSet
IntPtr

nativeint

pstgmOptions
STGMEDIUM[]
pcallback
IContinueCallback
nFirstPage
Int32
pcPagesPrinted
Int32
pnLastPage
Int32

Applies to