Class PrintControl
[Guid("2c1d867d-c290-41c8-ae7e-34a98702e9a5")]
public class PrintControl : ComObject
- Inheritance
-
PrintControl
Constructors
PrintControl(Device, ImagingFactory, ComObject)
Initializes a new instance of the PrintControl class.
public PrintControl(Device device, ImagingFactory wicFactory, ComObject documentTarget)
Parameters
device
DeviceThe device.
wicFactory
ImagingFactoryThe WIC factory.
documentTarget
ComObjectThe document target.
PrintControl(Device, ImagingFactory, ComObject, PrintControlProperties)
public PrintControl(Device device, ImagingFactory wicFactory, ComObject documentTarget, PrintControlProperties rintControlPropertiesRef)
Parameters
device
DevicewicFactory
ImagingFactorydocumentTarget
ComObjectrintControlPropertiesRef
PrintControlProperties
PrintControl(nint)
public PrintControl(nint nativePtr)
Parameters
nativePtr
nint
Methods
AddPage(CommandList, Size2F)
[This documentation is preliminary and is subject to change.]
Applies to: desktop apps | Metro style apps
TBD
public void AddPage(CommandList commandList, Size2F pageSize)
Parameters
commandList
CommandListNo documentation.
pageSize
Size2FNo documentation.
AddPage(CommandList, Size2F, IStream, out long, out long)
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, IStream agePrintTicketStreamRef, out long tag1, out long tag2)
Parameters
commandList
CommandListThe command list that contains the rendering operations.
pageSize
Size2FThe size of the page to add.
agePrintTicketStreamRef
IStreamThe print ticket stream.
tag1
longContains the first label for subsequent drawing operations. This parameter is passed uninitialized. If
null
is specified, no value is retrieved for this parameter.tag2
longContains the second label for subsequent drawing operations. This parameter is passed uninitialized. If
null
is specified, no value is retrieved for this parameter.
AddPage(CommandList, Size2F, out long, out long)
[This documentation is preliminary and is subject to change.]
Applies to: desktop apps | Metro style apps
TBD
public void AddPage(CommandList commandList, Size2F pageSize, out long tag1, out long tag2)
Parameters
commandList
CommandListNo documentation.
pageSize
Size2FNo documentation.
tag1
longNo documentation.
tag2
longNo documentation.
Close()
Passes all remaining resources to the print sub-system, then clean up and close the current print job.
public void Close()
Operators
explicit operator PrintControl(nint)
public static explicit operator PrintControl(nint nativePtr)
Parameters
nativePtr
nint