public class PrinterSettings extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.Printing.PrinterSettings
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.Drawing.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Drawing.Common
|
static java.lang.String |
className
Qualified class name: System.Drawing.Printing.PrinterSettings
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PrinterSettings() |
PrinterSettings(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PrinterSettings |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PrinterSettings, a cast assert is made to check if types are compatible. |
NetObject |
Clone() |
Graphics |
CreateMeasurementGraphics() |
Graphics |
CreateMeasurementGraphics(boolean honorOriginAtMargins) |
Graphics |
CreateMeasurementGraphics(PageSettings pageSettings) |
Graphics |
CreateMeasurementGraphics(PageSettings pageSettings,
boolean honorOriginAtMargins) |
boolean |
getCanDuplex() |
boolean |
getCollate() |
short |
getCopies() |
PageSettings |
getDefaultPageSettings() |
Duplex |
getDuplex() |
int |
getFromPage() |
boolean |
getIsDefaultPrinter() |
boolean |
getIsPlotter() |
boolean |
getIsValid() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLandscapeAngle() |
int |
getMaximumCopies() |
int |
getMaximumPage() |
int |
getMinimumPage() |
java.lang.String |
getPrinterName() |
java.lang.String |
getPrintFileName() |
PrintRange |
getPrintRange() |
boolean |
getPrintToFile() |
boolean |
getSupportsColor() |
int |
getToPage() |
boolean |
IsDirectPrintingSupported(Image image) |
boolean |
IsDirectPrintingSupported(ImageFormat imageFormat) |
void |
setCollate(boolean Collate) |
void |
setCopies(short Copies) |
void |
setDuplex(Duplex Duplex) |
void |
setFromPage(int FromPage) |
void |
setJCOInstance(JCObject instance) |
void |
setMaximumPage(int MaximumPage) |
void |
setMinimumPage(int MinimumPage) |
void |
setPrinterName(java.lang.String PrinterName) |
void |
setPrintFileName(java.lang.String PrintFileName) |
void |
setPrintRange(PrintRange PrintRange) |
void |
setPrintToFile(boolean PrintToFile) |
void |
setToPage(int ToPage) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PrinterSettings()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
FormatException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionFormatExceptionpublic PrinterSettings(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static PrinterSettings cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PrinterSettings, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPrinterSettings instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic Graphics CreateMeasurementGraphics() throws java.lang.Throwable, Win32Exception, InvalidOperationException, PlatformNotSupportedException, InvalidPrinterException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, FormatException
public Graphics CreateMeasurementGraphics(boolean honorOriginAtMargins) throws java.lang.Throwable, Win32Exception, InvalidOperationException, InvalidPrinterException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentException, FormatException
public Graphics CreateMeasurementGraphics(PageSettings pageSettings) throws java.lang.Throwable, ArgumentException, Win32Exception, InvalidOperationException, PlatformNotSupportedException, InvalidPrinterException, ArgumentNullException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, FormatException
public Graphics CreateMeasurementGraphics(PageSettings pageSettings, boolean honorOriginAtMargins) throws java.lang.Throwable, Win32Exception, InvalidOperationException, InvalidPrinterException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentException, FormatException
public boolean getCanDuplex()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidOperationException
java.lang.ThrowableArgumentExceptionWin32ExceptionInvalidOperationExceptionpublic boolean getCollate()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
InvalidCastException,
Win32Exception,
InvalidPrinterException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionInvalidCastExceptionWin32ExceptionInvalidPrinterExceptionArrayTypeMismatchExceptionpublic short getCopies()
throws java.lang.Throwable,
Win32Exception,
InvalidOperationException,
PlatformNotSupportedException,
InvalidPrinterException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
ArgumentException
public PageSettings getDefaultPageSettings() throws java.lang.Throwable
java.lang.Throwablepublic Duplex getDuplex() throws java.lang.Throwable, Win32Exception, InvalidOperationException, PlatformNotSupportedException, InvalidPrinterException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException
public int getFromPage()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsDefaultPrinter()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
Win32Exception,
NotSupportedException
public boolean getIsPlotter()
throws java.lang.Throwable,
Win32Exception,
InvalidOperationException,
PlatformNotSupportedException,
InvalidPrinterException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException
public boolean getIsValid()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidOperationException
java.lang.ThrowableArgumentExceptionWin32ExceptionInvalidOperationExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic int getLandscapeAngle()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidOperationException
java.lang.ThrowableArgumentExceptionWin32ExceptionInvalidOperationExceptionpublic int getMaximumCopies()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidOperationException
java.lang.ThrowableArgumentExceptionWin32ExceptionInvalidOperationExceptionpublic int getMaximumPage()
throws java.lang.Throwable
java.lang.Throwablepublic int getMinimumPage()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getPrinterName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionWin32Exceptionpublic java.lang.String getPrintFileName()
throws java.lang.Throwable
java.lang.Throwablepublic PrintRange getPrintRange() throws java.lang.Throwable
java.lang.Throwablepublic boolean getPrintToFile()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getSupportsColor()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidOperationException
java.lang.ThrowableArgumentExceptionWin32ExceptionInvalidOperationExceptionpublic int getToPage()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsDirectPrintingSupported(Image image) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, Win32Exception, InvalidPrinterException, ArgumentOutOfRangeException
public boolean IsDirectPrintingSupported(ImageFormat imageFormat) throws java.lang.Throwable, ArgumentException, Win32Exception, InvalidOperationException, PlatformNotSupportedException, InvalidPrinterException, ArgumentNullException, ArrayTypeMismatchException, NotSupportedException
public void setCollate(boolean Collate)
throws java.lang.Throwable
java.lang.Throwablepublic void setCopies(short Copies)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setDuplex(Duplex Duplex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
public void setFromPage(int FromPage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setMaximumPage(int MaximumPage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setMinimumPage(int MinimumPage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setPrinterName(java.lang.String PrinterName)
throws java.lang.Throwable
java.lang.Throwablepublic void setPrintFileName(java.lang.String PrintFileName)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
public void setPrintRange(PrintRange PrintRange) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setPrintToFile(boolean PrintToFile)
throws java.lang.Throwable
java.lang.Throwablepublic void setToPage(int ToPage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException