[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.PrintControl

Class PrintControl

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1PrintControl

[Guid("2c1d867d-c290-41c8-ae7e-34a98702e9a5")]
public class PrintControl : ComObject, IDisposable, IUnknown
Inheritance
PrintControl
Implements
Inherited Members

Constructors

PrintControl(IntPtr)

Initializes a new instance of the PrintControl class.

public PrintControl(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Methods

AddPage(CommandList, Size2F)

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)

Parameters

commandList CommandList
pageSize Size2F

AddPage(CommandList, Size2F, ComStream)

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)

Parameters

commandList CommandList
pageSize Size2F
pagePrintTicketStream ComStream

AddPage(CommandList, Size2F, ComStream, 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, ComStream pagePrintTicketStream, out long tag1, out long tag2)

Parameters

commandList CommandList
pageSize Size2F
pagePrintTicketStream ComStream
tag1 long
tag2 long

Close()

HRESULT ID2D1PrintControl::Close()

public void Close()

Create(Device, ImagingFactory, IntPtr)

Initializes a new instance of the PrintControl class.

public static PrintControl Create(Device device, ImagingFactory wicFactory, IntPtr documentTargetPtr)

Parameters

device Device
wicFactory ImagingFactory
documentTargetPtr IntPtr

Returns

PrintControl

Create(Device, ImagingFactory, IntPtr, PrintControlProperties)

Initializes a new instance of the PrintControl class.

public static PrintControl Create(Device device, ImagingFactory wicFactory, IntPtr documentTargetPtr, PrintControlProperties printControlProperties)

Parameters

device Device
wicFactory ImagingFactory
documentTargetPtr IntPtr
printControlProperties PrintControlProperties

Returns

PrintControl

Operators

explicit operator PrintControl(IntPtr)

Performs an explicit conversion from IntPtr to PrintControl.

public static explicit operator PrintControl(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

PrintControl