public class PageSetupDialog extends CommonDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.PageSetupDialog
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.PageSetupDialog
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PageSetupDialog()
Initializes a new instance by invoking the .NET constructor.
|
PageSetupDialog(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PageSetupDialog |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PageSetupDialog, a cast assert is made to check if types are compatible. |
boolean |
getAllowMargins()
Gets the value of the .NET property AllowMargins.
|
boolean |
getAllowOrientation()
Gets the value of the .NET property AllowOrientation.
|
boolean |
getAllowPaper()
Gets the value of the .NET property AllowPaper.
|
boolean |
getAllowPrinter()
Gets the value of the .NET property AllowPrinter.
|
PrintDocument |
getDocument()
Gets the value of the .NET property Document.
|
boolean |
getEnableMetric()
Gets the value of the .NET property EnableMetric.
|
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. |
Margins |
getMinMargins()
Gets the value of the .NET property MinMargins.
|
PageSettings |
getPageSettings()
Gets the value of the .NET property PageSettings.
|
PrinterSettings |
getPrinterSettings()
Gets the value of the .NET property PrinterSettings.
|
boolean |
getShowHelp()
Gets the value of the .NET property ShowHelp.
|
boolean |
getShowNetwork()
Gets the value of the .NET property ShowNetwork.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setAllowMargins(boolean AllowMargins)
Sets the value of the .NET property AllowMargins.
|
void |
setAllowOrientation(boolean AllowOrientation)
Sets the value of the .NET property AllowOrientation.
|
void |
setAllowPaper(boolean AllowPaper)
Sets the value of the .NET property AllowPaper.
|
void |
setAllowPrinter(boolean AllowPrinter)
Sets the value of the .NET property AllowPrinter.
|
void |
setDocument(PrintDocument Document)
Sets the value of the .NET property Document.
|
void |
setEnableMetric(boolean EnableMetric)
Sets the value of the .NET property EnableMetric.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMinMargins(Margins MinMargins)
Sets the value of the .NET property MinMargins.
|
void |
setPageSettings(PageSettings PageSettings)
Sets the value of the .NET property PageSettings.
|
void |
setPrinterSettings(PrinterSettings PrinterSettings)
Sets the value of the .NET property PrinterSettings.
|
void |
setShowHelp(boolean ShowHelp)
Sets the value of the .NET property ShowHelp.
|
void |
setShowNetwork(boolean ShowNetwork)
Sets the value of the .NET property ShowNetwork.
|
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 PageSetupDialog()
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 PageSetupDialog(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 PageSetupDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PageSetupDialog, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPageSetupDialog instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowMargins()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowOrientation()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowPaper()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowPrinter()
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 boolean getEnableMetric()
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 Margins getMinMargins() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PageSettings getPageSettings() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PrinterSettings getPrinterSettings() 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 void Reset()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException
Reset in class CommonDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setAllowMargins(boolean AllowMargins)
throws java.lang.Throwable
AllowMargins - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowOrientation(boolean AllowOrientation)
throws java.lang.Throwable
AllowOrientation - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowPaper(boolean AllowPaper)
throws java.lang.Throwable
AllowPaper - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowPrinter(boolean AllowPrinter)
throws java.lang.Throwable
AllowPrinter - 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
Document - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setEnableMetric(boolean EnableMetric)
throws java.lang.Throwable
EnableMetric - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class CommonDialoginstance - the new underlying objectpublic void setMinMargins(Margins MinMargins) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException
MinMargins - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setPageSettings(PageSettings PageSettings) throws java.lang.Throwable
PageSettings - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPrinterSettings(PrinterSettings PrinterSettings) throws java.lang.Throwable
PrinterSettings - 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 CLR