public class PrintDialog extends CommonDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.PrintDialog
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.PrintDialog
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PrintDialog()
Initializes a new instance by invoking the .NET constructor.
|
PrintDialog(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PrintDialog |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PrintDialog, a cast assert is made to check if types are compatible. |
boolean |
getAllowCurrentPage()
Gets the value of the .NET property AllowCurrentPage.
|
boolean |
getAllowPrintToFile()
Gets the value of the .NET property AllowPrintToFile.
|
boolean |
getAllowSelection()
Gets the value of the .NET property AllowSelection.
|
boolean |
getAllowSomePages()
Gets the value of the .NET property AllowSomePages.
|
PrintDocument |
getDocument()
Gets the value of the .NET property Document.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
PrinterSettings |
getPrinterSettings()
Gets the value of the .NET property PrinterSettings.
|
boolean |
getPrintToFile()
Gets the value of the .NET property PrintToFile.
|
boolean |
getShowHelp()
Gets the value of the .NET property ShowHelp.
|
boolean |
getShowNetwork()
Gets the value of the .NET property ShowNetwork.
|
boolean |
getUseEXDialog()
Gets the value of the .NET property UseEXDialog.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setAllowCurrentPage(boolean AllowCurrentPage)
Sets the value of the .NET property AllowCurrentPage.
|
void |
setAllowPrintToFile(boolean AllowPrintToFile)
Sets the value of the .NET property AllowPrintToFile.
|
void |
setAllowSelection(boolean AllowSelection)
Sets the value of the .NET property AllowSelection.
|
void |
setAllowSomePages(boolean AllowSomePages)
Sets the value of the .NET property AllowSomePages.
|
void |
setDocument(PrintDocument Document)
Sets the value of the .NET property Document.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setPrinterSettings(PrinterSettings PrinterSettings)
Sets the value of the .NET property PrinterSettings.
|
void |
setPrintToFile(boolean PrintToFile)
Sets the value of the .NET property PrintToFile.
|
void |
setShowHelp(boolean ShowHelp)
Sets the value of the .NET property ShowHelp.
|
void |
setShowNetwork(boolean ShowNetwork)
Sets the value of the .NET property ShowNetwork.
|
void |
setUseEXDialog(boolean UseEXDialog)
Sets the value of the .NET property UseEXDialog.
|
addHelpRequest, getTag, removeHelpRequest, setTag, ShowDialog, ShowDialogaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PrintDialog()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic PrintDialog(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static PrintDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PrintDialog, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPrintDialog instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowCurrentPage()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowPrintToFile()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowSelection()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowSomePages()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PrintDocument getDocument() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CommonDialogpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CommonDialogpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CommonDialognull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CommonDialogpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class CommonDialogpublic PrinterSettings getPrinterSettings() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getPrintToFile()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowHelp()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowNetwork()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseEXDialog()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Reset()
throws java.lang.Throwable
Reset in class CommonDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowCurrentPage(boolean AllowCurrentPage)
throws java.lang.Throwable
AllowCurrentPage - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowPrintToFile(boolean AllowPrintToFile)
throws java.lang.Throwable
AllowPrintToFile - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowSelection(boolean AllowSelection)
throws java.lang.Throwable
AllowSelection - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowSomePages(boolean AllowSomePages)
throws java.lang.Throwable
AllowSomePages - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDocument(PrintDocument Document) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
Document - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class CommonDialoginstance - the new underlying objectpublic void setPrinterSettings(PrinterSettings PrinterSettings) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException
PrinterSettings - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setPrintToFile(boolean PrintToFile)
throws java.lang.Throwable
PrintToFile - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowHelp(boolean ShowHelp)
throws java.lang.Throwable
ShowHelp - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowNetwork(boolean ShowNetwork)
throws java.lang.Throwable
ShowNetwork - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUseEXDialog(boolean UseEXDialog)
throws java.lang.Throwable
UseEXDialog - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR