[]
ID2D1PrintControl
[Guid("2c1d867d-c290-41c8-ae7e-34a98702e9a5")]
public class PrintControl : ComObject, IDisposable, IUnknown
Initializes a new instance of the PrintControl class.
public PrintControl(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
Converts Direct2D primitives in the passed-in command list into a fixed page representation for use by the print subsystem.
public void AddPage(CommandList commandList, Size2F pageSize, ComStream pagePrintTicketStream, out long tag1, out long tag2)
commandList CommandListpageSize Size2FpagePrintTicketStream ComStreamtag1 longtag2 longConverts Direct2D primitives in the passed-in command list into a fixed page representation for use by the print subsystem.
public void AddPage(CommandList commandList, Size2F pageSize, ComStream pagePrintTicketStream)
commandList CommandListpageSize Size2FpagePrintTicketStream ComStreamConverts Direct2D primitives in the passed-in command list into a fixed page representation for use by the print subsystem.
public void AddPage(CommandList commandList, Size2F pageSize)
commandList CommandListpageSize Size2FHRESULT ID2D1PrintControl::Close()
public void Close()
Initializes a new instance of the PrintControl class.
public static PrintControl Create(Device device, ImagingFactory wicFactory, IntPtr documentTargetPtr, PrintControlProperties printControlProperties)
device DevicewicFactory ImagingFactorydocumentTargetPtr System.IntPtrprintControlProperties PrintControlPropertiesInitializes a new instance of the PrintControl class.
public static PrintControl Create(Device device, ImagingFactory wicFactory, IntPtr documentTargetPtr)
device DevicewicFactory ImagingFactorydocumentTargetPtr System.IntPtrPerforms an explicit conversion from System.IntPtr to PrintControl.
public static explicit operator PrintControl(IntPtr nativePointer)
nativePointer System.IntPtr