public class FontFamily extends MarshalByRefObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.FontFamily
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Drawing
|
static java.lang.String |
className
Qualified class name: System.Drawing.FontFamily
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FontFamily() |
FontFamily(GenericFontFamilies genericFamily) |
FontFamily(java.lang.Object instance)
Internal constructor.
|
FontFamily(java.lang.String name) |
FontFamily(java.lang.String name,
FontCollection fontCollection) |
| Modifier and Type | Method and Description |
|---|---|
static FontFamily |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FontFamily, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
int |
GetCellAscent(FontStyle style) |
int |
GetCellDescent(FontStyle style) |
int |
GetEmHeight(FontStyle style) |
static FontFamily[] |
getFamilies() |
static FontFamily[] |
GetFamilies(Graphics graphics) |
static FontFamily |
getGenericMonospace() |
static FontFamily |
getGenericSansSerif() |
static FontFamily |
getGenericSerif() |
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 |
GetLineSpacing(FontStyle style) |
java.lang.String |
getName() |
java.lang.String |
GetName(int language) |
boolean |
IsStyleAvailable(FontStyle style) |
void |
setJCOInstance(JCObject instance) |
CreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FontFamily()
throws java.lang.Throwable
java.lang.Throwablepublic FontFamily(GenericFontFamilies genericFamily) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic FontFamily(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic FontFamily(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public FontFamily(java.lang.String name,
FontCollection fontCollection)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public static FontFamily cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FontFamily, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFontFamily instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic int GetCellAscent(FontStyle style) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic int GetCellDescent(FontStyle style) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic int GetEmHeight(FontStyle style) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic static final FontFamily[] getFamilies() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public static FontFamily[] GetFamilies(Graphics graphics) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public static FontFamily getGenericMonospace() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public static FontFamily getGenericSansSerif() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public static FontFamily getGenericSerif() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByRefObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectJCType representing the CLR Type of the instantiated Classpublic int GetLineSpacing(FontStyle style) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
ArgumentOutOfRangeException,
NotImplementedException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic java.lang.String GetName(int language)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
InvalidOperationException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
public boolean IsStyleAvailable(FontStyle style) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByRefObject