[]
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 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)
commandList CommandListpageSize Size2FConverts 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, ComStream pagePrintTicketStream, out long tag1, out long tag2)
commandList CommandListpageSize Size2FpagePrintTicketStream ComStreamtag1 longtag2 longHRESULT ID2D1PrintControl::Close()
public void Close()
Initializes a new instance of the PrintControl class.
public static PrintControl Create(Device device, ImagingFactory wicFactory, IntPtr documentTargetPtr)
device DevicewicFactory ImagingFactorydocumentTargetPtr IntPtrInitializes a new instance of the PrintControl class.
public static PrintControl Create(Device device, ImagingFactory wicFactory, IntPtr documentTargetPtr, PrintControlProperties printControlProperties)
device DevicewicFactory ImagingFactorydocumentTargetPtr IntPtrprintControlProperties PrintControlPropertiesPerforms an explicit conversion from IntPtr to PrintControl.
public static explicit operator PrintControl(IntPtr nativePointer)
nativePointer IntPtr