public class FamilyTypeface extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.FamilyTypeface
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: PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.FamilyTypeface
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FamilyTypeface()
Initializes a new instance by invoking the .NET constructor.
|
FamilyTypeface(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FamilyTypeface |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FamilyTypeface, a cast assert is made to check if types are compatible. |
boolean |
Equals(FamilyTypeface typeface)
Invokes the .NET member Equals.
|
IDictionary_2 |
getAdjustedFaceNames()
Gets the value of the .NET property AdjustedFaceNames.
|
double |
getCapsHeight()
Gets the value of the .NET property CapsHeight.
|
CharacterMetricsDictionary |
getDeviceFontCharacterMetrics()
Gets the value of the .NET property DeviceFontCharacterMetrics.
|
java.lang.String |
getDeviceFontName()
Gets the value of the .NET property DeviceFontName.
|
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. |
FontStretch |
getStretch()
Gets the value of the .NET property Stretch.
|
double |
getStrikethroughPosition()
Gets the value of the .NET property StrikethroughPosition.
|
double |
getStrikethroughThickness()
Gets the value of the .NET property StrikethroughThickness.
|
FontStyle |
getStyle()
Gets the value of the .NET property Style.
|
double |
getUnderlinePosition()
Gets the value of the .NET property UnderlinePosition.
|
double |
getUnderlineThickness()
Gets the value of the .NET property UnderlineThickness.
|
FontWeight |
getWeight()
Gets the value of the .NET property Weight.
|
double |
getXHeight()
Gets the value of the .NET property XHeight.
|
void |
setCapsHeight(double CapsHeight)
Sets the value of the .NET property CapsHeight.
|
void |
setDeviceFontName(java.lang.String DeviceFontName)
Sets the value of the .NET property DeviceFontName.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setStretch(FontStretch Stretch)
Sets the value of the .NET property Stretch.
|
void |
setStrikethroughPosition(double StrikethroughPosition)
Sets the value of the .NET property StrikethroughPosition.
|
void |
setStrikethroughThickness(double StrikethroughThickness)
Sets the value of the .NET property StrikethroughThickness.
|
void |
setStyle(FontStyle Style)
Sets the value of the .NET property Style.
|
void |
setUnderlinePosition(double UnderlinePosition)
Sets the value of the .NET property UnderlinePosition.
|
void |
setUnderlineThickness(double UnderlineThickness)
Sets the value of the .NET property UnderlineThickness.
|
void |
setWeight(FontWeight Weight)
Sets the value of the .NET property Weight.
|
void |
setXHeight(double XHeight)
Sets the value of the .NET property XHeight.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FamilyTypeface()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic FamilyTypeface(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 FamilyTypeface cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FamilyTypeface, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFamilyTypeface instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(FamilyTypeface typeface) throws java.lang.Throwable
typeface - the argument of type FamilyTypefacejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDictionary_2 getAdjustedFaceNames() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException
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 itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic double getCapsHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CharacterMetricsDictionary getDeviceFontCharacterMetrics() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDeviceFontName()
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 FontStretch getStretch() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getStrikethroughPosition()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getStrikethroughThickness()
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 double getUnderlinePosition()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getUnderlineThickness()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FontWeight getWeight() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getXHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCapsHeight(double CapsHeight)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
CapsHeight - 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 itNotSupportedException - if the .NET member raises itpublic void setDeviceFontName(java.lang.String DeviceFontName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
DeviceFontName - 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 itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setStretch(FontStretch Stretch) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
Stretch - 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 itNotSupportedException - if the .NET member raises itpublic void setStrikethroughPosition(double StrikethroughPosition)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
StrikethroughPosition - 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 itNotSupportedException - if the .NET member raises itpublic void setStrikethroughThickness(double StrikethroughThickness)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
StrikethroughThickness - 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 itNotSupportedException - if the .NET member raises itpublic void setStyle(FontStyle Style) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
Style - 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 itNotSupportedException - if the .NET member raises itpublic void setUnderlinePosition(double UnderlinePosition)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
UnderlinePosition - 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 itNotSupportedException - if the .NET member raises itpublic void setUnderlineThickness(double UnderlineThickness)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
UnderlineThickness - 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 itNotSupportedException - if the .NET member raises itpublic void setWeight(FontWeight Weight) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
Weight - 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 itNotSupportedException - if the .NET member raises itpublic void setXHeight(double XHeight)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
XHeight - 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 itNotSupportedException - if the .NET member raises it