public class PageSettings extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Drawing.Printing.PageSettings
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=8.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.PageSettings
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PageSettings()
Initializes a new instance by invoking the .NET constructor.
|
PageSettings(java.lang.Object instance)
Internal constructor.
|
PageSettings(PrinterSettings printerSettings)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PageSettings |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PageSettings, a cast assert is made to check if types are compatible. |
NetObject |
Clone()
Invokes the .NET member Clone.
|
Rectangle |
getBounds()
Gets the value of the .NET property Bounds.
|
boolean |
getColor()
Gets the value of the .NET property Color.
|
Single |
getHardMarginX()
Gets the value of the .NET property HardMarginX.
|
Single |
getHardMarginY()
Gets the value of the .NET property HardMarginY.
|
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. |
boolean |
getLandscape()
Gets the value of the .NET property Landscape.
|
Margins |
getMargins()
Gets the value of the .NET property Margins.
|
PaperSize |
getPaperSize()
Gets the value of the .NET property PaperSize.
|
PaperSource |
getPaperSource()
Gets the value of the .NET property PaperSource.
|
RectangleF |
getPrintableArea()
Gets the value of the .NET property PrintableArea.
|
PrinterResolution |
getPrinterResolution()
Gets the value of the .NET property PrinterResolution.
|
PrinterSettings |
getPrinterSettings()
Gets the value of the .NET property PrinterSettings.
|
void |
setColor(boolean Color)
Sets the value of the .NET property Color.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLandscape(boolean Landscape)
Sets the value of the .NET property Landscape.
|
void |
setMargins(Margins Margins)
Sets the value of the .NET property Margins.
|
void |
setPaperSize(PaperSize PaperSize)
Sets the value of the .NET property PaperSize.
|
void |
setPaperSource(PaperSource PaperSource)
Sets the value of the .NET property PaperSource.
|
void |
setPrinterResolution(PrinterResolution PrinterResolution)
Sets the value of the .NET property PrinterResolution.
|
void |
setPrinterSettings(PrinterSettings PrinterSettings)
Sets the value of the .NET property PrinterSettings.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PageSettings()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
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 itArgumentOutOfRangeException - if the .NET member raises itpublic PageSettings(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 PageSettings(PrinterSettings printerSettings) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
printerSettings - the argument of type PrinterSettingsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static PageSettings cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PageSettings, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPageSettings instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic Rectangle getBounds() throws java.lang.Throwable, ArgumentException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, InvalidPrinterException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, OutOfMemoryException
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 itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean getColor()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidPrinterException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itpublic Single getHardMarginX() throws java.lang.Throwable, ArgumentException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, InvalidPrinterException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, MulticastNotSupportedException
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 itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic Single getHardMarginY() throws java.lang.Throwable, ArgumentException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, InvalidPrinterException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, MulticastNotSupportedException
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 itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic 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 boolean getLandscape()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidPrinterException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itpublic Margins getMargins() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PaperSize getPaperSize() throws java.lang.Throwable, ArgumentException, Win32Exception, InvalidPrinterException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic PaperSource getPaperSource() throws java.lang.Throwable, ArgumentException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, InvalidPrinterException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, OutOfMemoryException
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 itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic RectangleF getPrintableArea() throws java.lang.Throwable, ArgumentException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, InvalidPrinterException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, MulticastNotSupportedException
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 itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic PrinterResolution getPrinterResolution() throws java.lang.Throwable, ArgumentException, InvalidOperationException, Win32Exception, ArgumentNullException, PlatformNotSupportedException, InvalidPrinterException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidCastException, OutOfMemoryException
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 itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidPrinterException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - 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 itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic PrinterSettings getPrinterSettings() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setColor(boolean Color)
throws java.lang.Throwable
Color - 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 setLandscape(boolean Landscape)
throws java.lang.Throwable
Landscape - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMargins(Margins Margins) throws java.lang.Throwable
Margins - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPaperSize(PaperSize PaperSize) throws java.lang.Throwable
PaperSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPaperSource(PaperSource PaperSource) throws java.lang.Throwable
PaperSource - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPrinterResolution(PrinterResolution PrinterResolution) throws java.lang.Throwable
PrinterResolution - 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, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
PrinterSettings - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises it