Class Printer
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Printer : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Printer
- Implements
- Inherited Members
Constructors
Printer(bool, params ConstructArgument[])
protected Printer(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Printer(IntPtr, bool)
protected Printer(IntPtr ptr, bool ownedRef)
Parameters
Fields
AcceptingJobsPropertyDefinition
public static readonly Property<bool, Printer> AcceptingJobsPropertyDefinition
Field Value
AcceptsPdfPropertyDefinition
public static readonly Property<bool, Printer> AcceptsPdfPropertyDefinition
Field Value
AcceptsPsPropertyDefinition
public static readonly Property<bool, Printer> AcceptsPsPropertyDefinition
Field Value
DetailsAcquiredSignal
Signal Descriptor for OnDetailsAcquired.
public static readonly Signal<Printer, Printer.DetailsAcquiredSignalArgs> DetailsAcquiredSignal
Field Value
IconNamePropertyDefinition
public static readonly Property<string?, Printer> IconNamePropertyDefinition
Field Value
IsVirtualPropertyDefinition
public static readonly Property<bool, Printer> IsVirtualPropertyDefinition
Field Value
JobCountPropertyDefinition
public static readonly Property<int, Printer> JobCountPropertyDefinition
Field Value
LocationPropertyDefinition
public static readonly Property<string?, Printer> LocationPropertyDefinition
Field Value
NamePropertyDefinition
public static readonly Property<string?, Printer> NamePropertyDefinition
Field Value
PausedPropertyDefinition
public static readonly Property<bool, Printer> PausedPropertyDefinition
Field Value
StateMessagePropertyDefinition
public static readonly Property<string?, Printer> StateMessagePropertyDefinition
Field Value
Properties
AcceptingJobs
public bool AcceptingJobs { get; }
Property Value
AcceptsPdf
public bool AcceptsPdf { get; }
Property Value
AcceptsPs
public bool AcceptsPs { get; }
Property Value
IconName
public string? IconName { get; }
Property Value
IsVirtual
public bool IsVirtual { get; }
Property Value
JobCount
public int JobCount { get; }
Property Value
Location
public string? Location { get; }
Property Value
Name
public string? Name { get; }
Property Value
Paused
public bool Paused { get; }
Property Value
StateMessage
public string? StateMessage { get; }
Property Value
Methods
Compare(Printer)
public int Compare(Printer b)
Parameters
b
Printer
Returns
GetAcceptsPdf()
public bool GetAcceptsPdf()
Returns
GetAcceptsPs()
public bool GetAcceptsPs()
Returns
GetBackend()
public PrintBackend GetBackend()
Returns
GetCapabilities()
public PrintCapabilities GetCapabilities()
Returns
GetDefaultPageSize()
public PageSetup GetDefaultPageSize()
Returns
GetDescription()
public string GetDescription()
Returns
GetGType()
public static Type GetGType()
Returns
GetHardMargins(out double, out double, out double, out double)
public bool GetHardMargins(out double top, out double bottom, out double left, out double right)
Parameters
Returns
GetHardMarginsForPaperSize(PaperSize, out double, out double, out double, out double)
public bool GetHardMarginsForPaperSize(PaperSize paperSize, out double top, out double bottom, out double left, out double right)
Parameters
Returns
GetIconName()
public string GetIconName()
Returns
GetIsVirtual()
public bool GetIsVirtual()
Returns
GetJobCount()
public int GetJobCount()
Returns
GetLocation()
public string GetLocation()
Returns
GetName()
public string GetName()
Returns
GetStateMessage()
public string GetStateMessage()
Returns
HasDetails()
public bool HasDetails()
Returns
IsAcceptingJobs()
public bool IsAcceptingJobs()
Returns
IsActive()
public bool IsActive()
Returns
IsDefault()
public bool IsDefault()
Returns
IsPaused()
public bool IsPaused()
Returns
ListPapers()
public List ListPapers()
Returns
New(string, PrintBackend, bool)
public static Printer New(string name, PrintBackend backend, bool @virtual)
Parameters
name
stringbackend
PrintBackendvirtual
bool
Returns
RequestDetails()
public void RequestDetails()
Events
OnDetailsAcquired
public event SignalHandler<Printer, Printer.DetailsAcquiredSignalArgs> OnDetailsAcquired