Class PrintJob
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class PrintJob : Object, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
PrintJob
- Implements
- Inherited Members
Constructors
PrintJob(params ConstructArgument[])
public PrintJob(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
PrintJob(PrintJobHandle)
public PrintJob(PrintJobHandle handle)
Parameters
handle
PrintJobHandle
Fields
PageSetupPropertyDefinition
public static readonly Property<PageSetup?, PrintJob> PageSetupPropertyDefinition
Field Value
PrinterPropertyDefinition
public static readonly Property<Printer?, PrintJob> PrinterPropertyDefinition
Field Value
SettingsPropertyDefinition
public static readonly Property<PrintSettings?, PrintJob> SettingsPropertyDefinition
Field Value
StatusChangedSignal
Signal Descriptor for OnStatusChanged.
public static readonly Signal<PrintJob> StatusChangedSignal
Field Value
TitlePropertyDefinition
public static readonly Property<string?, PrintJob> TitlePropertyDefinition
Field Value
TrackPrintStatusPropertyDefinition
public static readonly Property<bool, PrintJob> TrackPrintStatusPropertyDefinition
Field Value
Properties
PageSetup
public PageSetup? PageSetup { get; }
Property Value
Printer
public Printer? Printer { get; }
Property Value
Settings
public PrintSettings? Settings { get; }
Property Value
Title
public string? Title { get; }
Property Value
TrackPrintStatus
public bool TrackPrintStatus { get; set; }
Property Value
Methods
GetCollate()
public bool GetCollate()
Returns
GetGType()
public static Type GetGType()
Returns
GetNUp()
public uint GetNUp()
Returns
GetNUpLayout()
public NumberUpLayout GetNUpLayout()
Returns
GetNumCopies()
public int GetNumCopies()
Returns
GetPageSet()
public PageSet GetPageSet()
Returns
GetPages()
public PrintPages GetPages()
Returns
GetPrinter()
public Printer GetPrinter()
Returns
GetReverse()
public bool GetReverse()
Returns
GetRotate()
public bool GetRotate()
Returns
GetScale()
public double GetScale()
Returns
GetSettings()
public PrintSettings GetSettings()
Returns
GetStatus()
public PrintStatus GetStatus()
Returns
GetSurface()
public Surface GetSurface()
Returns
GetTitle()
public string GetTitle()
Returns
GetTrackPrintStatus()
public bool GetTrackPrintStatus()
Returns
New(string, Printer, PrintSettings, PageSetup)
public static PrintJob New(string title, Printer printer, PrintSettings settings, PageSetup pageSetup)
Parameters
title
stringprinter
Printersettings
PrintSettingspageSetup
PageSetup
Returns
Send(PrintJobCompleteFunc)
public void Send(PrintJobCompleteFunc callback)
Parameters
callback
PrintJobCompleteFunc
SetCollate(bool)
public void SetCollate(bool collate)
Parameters
collate
bool
SetNUp(uint)
public void SetNUp(uint nUp)
Parameters
nUp
uint
SetNUpLayout(NumberUpLayout)
public void SetNUpLayout(NumberUpLayout layout)
Parameters
layout
NumberUpLayout
SetNumCopies(int)
public void SetNumCopies(int numCopies)
Parameters
numCopies
int
SetPageSet(PageSet)
public void SetPageSet(PageSet pageSet)
Parameters
pageSet
PageSet
SetPages(PrintPages)
public void SetPages(PrintPages pages)
Parameters
pages
PrintPages
SetReverse(bool)
public void SetReverse(bool reverse)
Parameters
reverse
bool
SetRotate(bool)
public void SetRotate(bool rotate)
Parameters
rotate
bool
SetScale(double)
public void SetScale(double scale)
Parameters
scale
double
SetSourceFd(int)
public bool SetSourceFd(int fd)
Parameters
fd
int
Returns
SetSourceFile(string)
public bool SetSourceFile(string filename)
Parameters
filename
string
Returns
SetTrackPrintStatus(bool)
public void SetTrackPrintStatus(bool trackStatus)
Parameters
trackStatus
bool
Events
OnStatusChanged
public event SignalHandler<PrintJob> OnStatusChanged