public class PrintDialog extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Controls.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: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Controls.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 |
getCurrentPageEnabled()
Gets the value of the .NET property CurrentPageEnabled.
|
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. |
UInt32 |
getMaxPage()
Gets the value of the .NET property MaxPage.
|
UInt32 |
getMinPage()
Gets the value of the .NET property MinPage.
|
PageRange |
getPageRange()
Gets the value of the .NET property PageRange.
|
PageRangeSelection |
getPageRangeSelection()
Gets the value of the .NET property PageRangeSelection.
|
double |
getPrintableAreaHeight()
Gets the value of the .NET property PrintableAreaHeight.
|
double |
getPrintableAreaWidth()
Gets the value of the .NET property PrintableAreaWidth.
|
PrintQueue |
getPrintQueue()
Gets the value of the .NET property PrintQueue.
|
PrintTicket |
getPrintTicket()
Gets the value of the .NET property PrintTicket.
|
boolean |
getSelectedPagesEnabled()
Gets the value of the .NET property SelectedPagesEnabled.
|
boolean |
getUserPageRangeEnabled()
Gets the value of the .NET property UserPageRangeEnabled.
|
void |
PrintDocument(DocumentPaginator documentPaginator,
java.lang.String description)
Invokes the .NET member PrintDocument.
|
void |
PrintVisual(Visual visual,
java.lang.String description)
Invokes the .NET member PrintVisual.
|
void |
setCurrentPageEnabled(boolean CurrentPageEnabled)
Sets the value of the .NET property CurrentPageEnabled.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxPage(UInt32 MaxPage)
Sets the value of the .NET property MaxPage.
|
void |
setMinPage(UInt32 MinPage)
Sets the value of the .NET property MinPage.
|
void |
setPageRange(PageRange PageRange)
Sets the value of the .NET property PageRange.
|
void |
setPageRangeSelection(PageRangeSelection PageRangeSelection)
Sets the value of the .NET property PageRangeSelection.
|
void |
setPrintQueue(PrintQueue PrintQueue)
Sets the value of the .NET property PrintQueue.
|
void |
setPrintTicket(PrintTicket PrintTicket)
Sets the value of the .NET property PrintTicket.
|
void |
setSelectedPagesEnabled(boolean SelectedPagesEnabled)
Sets the value of the .NET property SelectedPagesEnabled.
|
void |
setUserPageRangeEnabled(boolean UserPageRangeEnabled)
Sets the value of the .NET property UserPageRangeEnabled.
|
Nullable_1 |
ShowDialog()
Invokes the .NET member ShowDialog.
|
public 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
java.lang.Throwable - if the .NET constructor failspublic 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 getCurrentPageEnabled()
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 NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic UInt32 getMaxPage() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt32 getMinPage() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PageRange getPageRange() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PageRangeSelection getPageRangeSelection() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getPrintableAreaHeight()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentNullException,
PrintingNotSupportedException,
PrintQueueException,
Win32Exception,
ObjectDisposedException,
InvalidOperationException,
FormatException,
IndexOutOfRangeException,
NotSupportedException,
XmlException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itPrintingNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itpublic double getPrintableAreaWidth()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentNullException,
PrintingNotSupportedException,
PrintQueueException,
Win32Exception,
ObjectDisposedException,
InvalidOperationException,
FormatException,
IndexOutOfRangeException,
NotSupportedException,
XmlException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itPrintingNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itpublic PrintQueue getPrintQueue() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, NotSupportedException, OutOfMemoryException, CultureNotFoundException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic PrintTicket getPrintTicket() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, ArgumentNullException, PrintingNotSupportedException, PrintQueueException, AccessViolationException, Win32Exception, ObjectDisposedException, InvalidOperationException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itPrintingNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itAccessViolationException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getSelectedPagesEnabled()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUserPageRangeEnabled()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void PrintDocument(DocumentPaginator documentPaginator, java.lang.String description) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, PrintingNotSupportedException, PrintQueueException, Win32Exception, FormatException
documentPaginator - the argument of type DocumentPaginatordescription - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPrintingNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itWin32Exception - if the .NET member raises itFormatException - if the .NET member raises itpublic void PrintVisual(Visual visual, java.lang.String description) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, PrintingNotSupportedException, PrintQueueException, Win32Exception, FormatException
visual - the argument of type Visualdescription - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPrintingNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itWin32Exception - if the .NET member raises itFormatException - if the .NET member raises itpublic void setCurrentPageEnabled(boolean CurrentPageEnabled)
throws java.lang.Throwable
CurrentPageEnabled - 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 NetObjectinstance - the new underlying objectpublic void setMaxPage(UInt32 MaxPage) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
MaxPage - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setMinPage(UInt32 MinPage) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
MinPage - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setPageRange(PageRange PageRange) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
PageRange - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setPageRangeSelection(PageRangeSelection PageRangeSelection) throws java.lang.Throwable
PageRangeSelection - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPrintQueue(PrintQueue PrintQueue) throws java.lang.Throwable
PrintQueue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPrintTicket(PrintTicket PrintTicket) throws java.lang.Throwable
PrintTicket - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSelectedPagesEnabled(boolean SelectedPagesEnabled)
throws java.lang.Throwable
SelectedPagesEnabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUserPageRangeEnabled(boolean UserPageRangeEnabled)
throws java.lang.Throwable
UserPageRangeEnabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 ShowDialog() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, RankException, ArrayTypeMismatchException, ArgumentNullException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, PrintingNotSupportedException, PrintQueueException, AccessViolationException, OutOfMemoryException, Win32Exception, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ExternalException, CultureNotFoundException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPrintingNotSupportedException - if the .NET member raises itPrintQueueException - if the .NET member raises itAccessViolationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises it