Class PrinterJob
public class PrinterJob : JVMBridgeBase<PrinterJob>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<PrinterJob>PrinterJob
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<PrinterJob>.SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])JVMBridgeBase<PrinterJob>.SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])JVMBridgeBase<PrinterJob>.IsAssignableFrom(IJavaType)JVMBridgeBase<PrinterJob>.IsAssignableFrom<T>()JVMBridgeBase<PrinterJob>.Execute<T>(params T[])JVMBridgeBase<PrinterJob>.DynBridgeClazzJVMBridgeBase<PrinterJob>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
PrinterJob()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("PrinterJob class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PrinterJob()
PrinterJob(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("PrinterJob class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PrinterJob(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Copies
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/print/PrinterJob.html#getCopies() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/print/PrinterJob.html#setCopies(int)
public int Copies { get; set; }
Property Value
GetPrinterJob
public static PrinterJob GetPrinterJob { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
JobName
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/print/PrinterJob.html#getJobName() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/print/PrinterJob.html#setJobName(java.lang.String)
public String JobName { get; set; }
Property Value
PrintService
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/print/PrinterJob.html#getPrintService() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/print/PrinterJob.html#setPrintService(javax.print.PrintService)
public PrintService PrintService { get; set; }
Property Value
UserName
public String UserName { get; }
Property Value
Methods
Cancel()
public void Cancel()
DefaultPage()
public PageFormat DefaultPage()
Returns
DefaultPage(PageFormat)
public PageFormat DefaultPage(PageFormat arg0)
Parameters
arg0
PageFormat
Returns
GetPageFormat(PrintRequestAttributeSet)
public PageFormat GetPageFormat(PrintRequestAttributeSet arg0)
Parameters
Returns
IsCancelled()
public bool IsCancelled()
Returns
LookupPrintServices()
public static PrintService[] LookupPrintServices()
Returns
LookupStreamPrintServices(String)
public static StreamPrintServiceFactory[] LookupStreamPrintServices(String arg0)
Parameters
Returns
PageDialog(PageFormat)
public PageFormat PageDialog(PageFormat arg0)
Parameters
arg0
PageFormat
Returns
Exceptions
PageDialog(PrintRequestAttributeSet)
public PageFormat PageDialog(PrintRequestAttributeSet arg0)
Parameters
Returns
Exceptions
Print()
public void Print()
Exceptions
Print(PrintRequestAttributeSet)
public void Print(PrintRequestAttributeSet arg0)
Parameters
Exceptions
PrintDialog()
public bool PrintDialog()
Returns
Exceptions
PrintDialog(PrintRequestAttributeSet)
public bool PrintDialog(PrintRequestAttributeSet arg0)
Parameters
Returns
Exceptions
SetPageable(Pageable)
public void SetPageable(Pageable arg0)
Parameters
Exceptions
SetPrintable(Printable)
public void SetPrintable(Printable arg0)
Parameters
SetPrintable(Printable, PageFormat)
public void SetPrintable(Printable arg0, PageFormat arg1)
Parameters
arg0
Printablearg1
PageFormat
ValidatePage(PageFormat)
public PageFormat ValidatePage(PageFormat arg0)
Parameters
arg0
PageFormat