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
constructArgumentsConstructArgument[]
PrintJob(PrintJobHandle)
public PrintJob(PrintJobHandle handle)
Parameters
handlePrintJobHandle
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
titlestringprinterPrintersettingsPrintSettingspageSetupPageSetup
Returns
Send(PrintJobCompleteFunc)
public void Send(PrintJobCompleteFunc callback)
Parameters
callbackPrintJobCompleteFunc
SetCollate(bool)
public void SetCollate(bool collate)
Parameters
collatebool
SetNUp(uint)
public void SetNUp(uint nUp)
Parameters
nUpuint
SetNUpLayout(NumberUpLayout)
public void SetNUpLayout(NumberUpLayout layout)
Parameters
layoutNumberUpLayout
SetNumCopies(int)
public void SetNumCopies(int numCopies)
Parameters
numCopiesint
SetPageSet(PageSet)
public void SetPageSet(PageSet pageSet)
Parameters
pageSetPageSet
SetPages(PrintPages)
public void SetPages(PrintPages pages)
Parameters
pagesPrintPages
SetReverse(bool)
public void SetReverse(bool reverse)
Parameters
reversebool
SetRotate(bool)
public void SetRotate(bool rotate)
Parameters
rotatebool
SetScale(double)
public void SetScale(double scale)
Parameters
scaledouble
SetSourceFd(int)
public bool SetSourceFd(int fd)
Parameters
fdint
Returns
SetSourceFile(string)
public bool SetSourceFile(string filename)
Parameters
filenamestring
Returns
SetTrackPrintStatus(bool)
public void SetTrackPrintStatus(bool trackStatus)
Parameters
trackStatusbool
Events
OnStatusChanged
public event SignalHandler<PrintJob> OnStatusChanged