public class Font extends MarshalByRefObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Drawing.Font
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.Font
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Font() |
Font(FontFamily family,
Single emSize)
Initializes a new instance by invoking the .NET constructor.
|
Font(FontFamily family,
Single emSize,
FontStyle style)
Initializes a new instance by invoking the .NET constructor.
|
Font(FontFamily family,
Single emSize,
FontStyle style,
GraphicsUnit unit)
Initializes a new instance by invoking the .NET constructor.
|
Font(FontFamily family,
Single emSize,
FontStyle style,
GraphicsUnit unit,
byte gdiCharSet)
Initializes a new instance by invoking the .NET constructor.
|
Font(FontFamily family,
Single emSize,
FontStyle style,
GraphicsUnit unit,
byte gdiCharSet,
boolean gdiVerticalFont)
Initializes a new instance by invoking the .NET constructor.
|
Font(FontFamily family,
Single emSize,
GraphicsUnit unit)
Initializes a new instance by invoking the .NET constructor.
|
Font(Font prototype,
FontStyle newStyle)
Initializes a new instance by invoking the .NET constructor.
|
Font(java.lang.Object instance)
Internal constructor.
|
Font(java.lang.String familyName,
Single emSize)
Initializes a new instance by invoking the .NET constructor.
|
Font(java.lang.String familyName,
Single emSize,
FontStyle style)
Initializes a new instance by invoking the .NET constructor.
|
Font(java.lang.String familyName,
Single emSize,
FontStyle style,
GraphicsUnit unit)
Initializes a new instance by invoking the .NET constructor.
|
Font(java.lang.String familyName,
Single emSize,
FontStyle style,
GraphicsUnit unit,
byte gdiCharSet)
Initializes a new instance by invoking the .NET constructor.
|
Font(java.lang.String familyName,
Single emSize,
FontStyle style,
GraphicsUnit unit,
byte gdiCharSet,
boolean gdiVerticalFont)
Initializes a new instance by invoking the .NET constructor.
|
Font(java.lang.String familyName,
Single emSize,
GraphicsUnit unit)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Font |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Font, a cast assert is made to check if types are compatible. |
NetObject |
Clone()
Invokes the .NET member Clone.
|
void |
close() |
void |
Dispose()
Invokes the .NET member Dispose.
|
static Font |
FromLogFont(NetObject lf)
Invokes the .NET member FromLogFont.
|
boolean |
getBold()
Gets the value of the .NET property Bold.
|
FontFamily |
getFontFamily()
Gets the value of the .NET property FontFamily.
|
byte |
getGdiCharSet()
Gets the value of the .NET property GdiCharSet.
|
boolean |
getGdiVerticalFont()
Gets the value of the .NET property GdiVerticalFont.
|
int |
getHeight()
Gets the value of the .NET property Height.
|
Single |
GetHeight()
Invokes the .NET member GetHeight.
|
Single |
GetHeight(Graphics graphics)
Invokes the .NET member GetHeight.
|
Single |
GetHeight(Single dpi)
Invokes the .NET member GetHeight.
|
boolean |
getIsSystemFont()
Gets the value of the .NET property IsSystemFont.
|
boolean |
getItalic()
Gets the value of the .NET property Italic.
|
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. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
java.lang.String |
getOriginalFontName()
Gets the value of the .NET property OriginalFontName.
|
Single |
getSize()
Gets the value of the .NET property Size.
|
Single |
getSizeInPoints()
Gets the value of the .NET property SizeInPoints.
|
boolean |
getStrikeout()
Gets the value of the .NET property Strikeout.
|
FontStyle |
getStyle()
Gets the value of the .NET property Style.
|
java.lang.String |
getSystemFontName()
Gets the value of the .NET property SystemFontName.
|
boolean |
getUnderline()
Gets the value of the .NET property Underline.
|
GraphicsUnit |
getUnit()
Gets the value of the .NET property Unit.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
ToLogFont(NetObject logFont)
Invokes the .NET member ToLogFont.
|
void |
ToLogFont(NetObject logFont,
Graphics graphics)
Invokes the .NET member ToLogFont.
|
GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Font()
throws java.lang.Throwable
java.lang.Throwablepublic Font(FontFamily family, Single emSize) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
family - the argument of type FontFamilyemSize - the argument of type Singlejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(FontFamily family, Single emSize, FontStyle style) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
family - the argument of type FontFamilyemSize - the argument of type Singlestyle - the argument of type FontStylejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
family - the argument of type FontFamilyemSize - the argument of type Singlestyle - the argument of type FontStyleunit - the argument of type GraphicsUnitjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
family - the argument of type FontFamilyemSize - the argument of type Singlestyle - the argument of type FontStyleunit - the argument of type GraphicsUnitgdiCharSet - the argument of type bytejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, boolean gdiVerticalFont) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
family - the argument of type FontFamilyemSize - the argument of type Singlestyle - the argument of type FontStyleunit - the argument of type GraphicsUnitgdiCharSet - the argument of type bytegdiVerticalFont - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(FontFamily family, Single emSize, GraphicsUnit unit) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
family - the argument of type FontFamilyemSize - the argument of type Singleunit - the argument of type GraphicsUnitjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(Font prototype, FontStyle newStyle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException
prototype - the argument of type FontnewStyle - the argument of type FontStylejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(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 Font(java.lang.String familyName,
Single emSize)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
ArgumentNullException
familyName - the argument of type java.lang.StringemSize - the argument of type Singlejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Font(java.lang.String familyName,
Single emSize,
FontStyle style)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
ArgumentNullException
familyName - the argument of type java.lang.StringemSize - the argument of type Singlestyle - the argument of type FontStylejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Font(java.lang.String familyName,
Single emSize,
FontStyle style,
GraphicsUnit unit)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
ArgumentNullException
familyName - the argument of type java.lang.StringemSize - the argument of type Singlestyle - the argument of type FontStyleunit - the argument of type GraphicsUnitjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Font(java.lang.String familyName,
Single emSize,
FontStyle style,
GraphicsUnit unit,
byte gdiCharSet)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
ArgumentNullException
familyName - the argument of type java.lang.StringemSize - the argument of type Singlestyle - the argument of type FontStyleunit - the argument of type GraphicsUnitgdiCharSet - the argument of type bytejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Font(java.lang.String familyName,
Single emSize,
FontStyle style,
GraphicsUnit unit,
byte gdiCharSet,
boolean gdiVerticalFont)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException
familyName - the argument of type java.lang.StringemSize - the argument of type Singlestyle - the argument of type FontStyleunit - the argument of type GraphicsUnitgdiCharSet - the argument of type bytegdiVerticalFont - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic Font(java.lang.String familyName,
Single emSize,
GraphicsUnit unit)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
ArgumentNullException
familyName - the argument of type java.lang.StringemSize - the argument of type Singleunit - the argument of type GraphicsUnitjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Font cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Font, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFont instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Font FromLogFont(NetObject lf) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException
lf - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean getBold()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FontFamily getFontFamily() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte getGdiCharSet()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getGdiVerticalFont()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getHeight()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Single GetHeight() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Single GetHeight(Graphics graphics) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
graphics - the argument of type Graphicsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Single GetHeight(Single dpi) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
dpi - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getIsSystemFont()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getItalic()
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 MarshalByRefObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectpublic java.lang.String getName()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getOriginalFontName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getSizeInPoints() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getStrikeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FontStyle getStyle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getSystemFontName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUnderline()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic GraphicsUnit getUnit() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class MarshalByRefObjectinstance - the new underlying objectpublic void ToLogFont(NetObject logFont) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, FormatException
logFont - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void ToLogFont(NetObject logFont, Graphics graphics) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
logFont - the argument of type NetObjectgraphics - the argument of type Graphicsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it