[]
        
(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
object
PrintControl
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PrintControl(IntPtr)

Initializes a new instance of the PrintControl class.

public PrintControl(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

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

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)

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

Close()

HRESULT ID2D1PrintControl::Close()

public void Close()

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 System.IntPtr
printControlProperties PrintControlProperties

Returns

PrintControl

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 System.IntPtr

Returns

PrintControl

Operators

explicit operator PrintControl(IntPtr)

Performs an explicit conversion from System.IntPtr to PrintControl.

public static explicit operator PrintControl(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

PrintControl