public class TextMetrics extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.VisualStyles.TextMetrics
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.Windows.Forms.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms.Primitives
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.VisualStyles.TextMetrics
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TextMetrics() |
TextMetrics(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TextMetrics |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TextMetrics, a cast assert is made to check if types are compatible. |
int |
getAscent()
Gets the value of the .NET property Ascent.
|
int |
getAverageCharWidth()
Gets the value of the .NET property AverageCharWidth.
|
char |
getBreakChar()
Gets the value of the .NET property BreakChar.
|
TextMetricsCharacterSet |
getCharSet()
Gets the value of the .NET property CharSet.
|
char |
getDefaultChar()
Gets the value of the .NET property DefaultChar.
|
int |
getDescent()
Gets the value of the .NET property Descent.
|
int |
getDigitizedAspectX()
Gets the value of the .NET property DigitizedAspectX.
|
int |
getDigitizedAspectY()
Gets the value of the .NET property DigitizedAspectY.
|
int |
getExternalLeading()
Gets the value of the .NET property ExternalLeading.
|
char |
getFirstChar()
Gets the value of the .NET property FirstChar.
|
int |
getHeight()
Gets the value of the .NET property Height.
|
int |
getInternalLeading()
Gets the value of the .NET property InternalLeading.
|
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. |
char |
getLastChar()
Gets the value of the .NET property LastChar.
|
int |
getMaxCharWidth()
Gets the value of the .NET property MaxCharWidth.
|
int |
getOverhang()
Gets the value of the .NET property Overhang.
|
TextMetricsPitchAndFamilyValues |
getPitchAndFamily()
Gets the value of the .NET property PitchAndFamily.
|
boolean |
getStruckOut()
Gets the value of the .NET property StruckOut.
|
boolean |
getUnderlined()
Gets the value of the .NET property Underlined.
|
int |
getWeight()
Gets the value of the .NET property Weight.
|
void |
setAscent(int Ascent)
Sets the value of the .NET property Ascent.
|
void |
setAverageCharWidth(int AverageCharWidth)
Sets the value of the .NET property AverageCharWidth.
|
void |
setBreakChar(char BreakChar)
Sets the value of the .NET property BreakChar.
|
void |
setCharSet(TextMetricsCharacterSet CharSet)
Sets the value of the .NET property CharSet.
|
void |
setDefaultChar(char DefaultChar)
Sets the value of the .NET property DefaultChar.
|
void |
setDescent(int Descent)
Sets the value of the .NET property Descent.
|
void |
setDigitizedAspectX(int DigitizedAspectX)
Sets the value of the .NET property DigitizedAspectX.
|
void |
setDigitizedAspectY(int DigitizedAspectY)
Sets the value of the .NET property DigitizedAspectY.
|
void |
setExternalLeading(int ExternalLeading)
Sets the value of the .NET property ExternalLeading.
|
void |
setFirstChar(char FirstChar)
Sets the value of the .NET property FirstChar.
|
void |
setHeight(int Height)
Sets the value of the .NET property Height.
|
void |
setInternalLeading(int InternalLeading)
Sets the value of the .NET property InternalLeading.
|
void |
setItalic(boolean Italic)
Sets the value of the .NET property Italic.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLastChar(char LastChar)
Sets the value of the .NET property LastChar.
|
void |
setMaxCharWidth(int MaxCharWidth)
Sets the value of the .NET property MaxCharWidth.
|
void |
setOverhang(int Overhang)
Sets the value of the .NET property Overhang.
|
void |
setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily)
Sets the value of the .NET property PitchAndFamily.
|
void |
setStruckOut(boolean StruckOut)
Sets the value of the .NET property StruckOut.
|
void |
setUnderlined(boolean Underlined)
Sets the value of the .NET property Underlined.
|
void |
setWeight(int Weight)
Sets the value of the .NET property Weight.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TextMetrics()
throws java.lang.Throwable
java.lang.Throwablepublic TextMetrics(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 TextMetrics cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TextMetrics, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTextMetrics instancejava.lang.Throwable - in case of error during cast operationpublic int getAscent()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getAverageCharWidth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic char getBreakChar()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TextMetricsCharacterSet getCharSet() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic char getDefaultChar()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getDescent()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getDigitizedAspectX()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getDigitizedAspectY()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getExternalLeading()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic char getFirstChar()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getInternalLeading()
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 ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic char getLastChar()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMaxCharWidth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getOverhang()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TextMetricsPitchAndFamilyValues getPitchAndFamily() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getStruckOut()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUnderlined()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getWeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAscent(int Ascent)
throws java.lang.Throwable
Ascent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAverageCharWidth(int AverageCharWidth)
throws java.lang.Throwable
AverageCharWidth - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBreakChar(char BreakChar)
throws java.lang.Throwable
BreakChar - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCharSet(TextMetricsCharacterSet CharSet) throws java.lang.Throwable
CharSet - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDefaultChar(char DefaultChar)
throws java.lang.Throwable
DefaultChar - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDescent(int Descent)
throws java.lang.Throwable
Descent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDigitizedAspectX(int DigitizedAspectX)
throws java.lang.Throwable
DigitizedAspectX - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDigitizedAspectY(int DigitizedAspectY)
throws java.lang.Throwable
DigitizedAspectY - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setExternalLeading(int ExternalLeading)
throws java.lang.Throwable
ExternalLeading - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFirstChar(char FirstChar)
throws java.lang.Throwable
FirstChar - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHeight(int Height)
throws java.lang.Throwable
Height - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setInternalLeading(int InternalLeading)
throws java.lang.Throwable
InternalLeading - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setItalic(boolean Italic)
throws java.lang.Throwable
Italic - 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 ValueTypeinstance - the new underlying objectpublic void setLastChar(char LastChar)
throws java.lang.Throwable
LastChar - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMaxCharWidth(int MaxCharWidth)
throws java.lang.Throwable
MaxCharWidth - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setOverhang(int Overhang)
throws java.lang.Throwable
Overhang - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily) throws java.lang.Throwable
PitchAndFamily - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStruckOut(boolean StruckOut)
throws java.lang.Throwable
StruckOut - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUnderlined(boolean Underlined)
throws java.lang.Throwable
Underlined - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWeight(int Weight)
throws java.lang.Throwable
Weight - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR