public class TextMetrics extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/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=9.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() |
int |
getAverageCharWidth() |
char |
getBreakChar() |
TextMetricsCharacterSet |
getCharSet() |
char |
getDefaultChar() |
int |
getDescent() |
int |
getDigitizedAspectX() |
int |
getDigitizedAspectY() |
int |
getExternalLeading() |
char |
getFirstChar() |
int |
getHeight() |
int |
getInternalLeading() |
boolean |
getItalic() |
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
|
char |
getLastChar() |
int |
getMaxCharWidth() |
int |
getOverhang() |
TextMetricsPitchAndFamilyValues |
getPitchAndFamily() |
boolean |
getStruckOut() |
boolean |
getUnderlined() |
int |
getWeight() |
void |
setAscent(int Ascent) |
void |
setAverageCharWidth(int AverageCharWidth) |
void |
setBreakChar(char BreakChar) |
void |
setCharSet(TextMetricsCharacterSet CharSet) |
void |
setDefaultChar(char DefaultChar) |
void |
setDescent(int Descent) |
void |
setDigitizedAspectX(int DigitizedAspectX) |
void |
setDigitizedAspectY(int DigitizedAspectY) |
void |
setExternalLeading(int ExternalLeading) |
void |
setFirstChar(char FirstChar) |
void |
setHeight(int Height) |
void |
setInternalLeading(int InternalLeading) |
void |
setItalic(boolean Italic) |
void |
setJCOInstance(JCObject instance) |
void |
setLastChar(char LastChar) |
void |
setMaxCharWidth(int MaxCharWidth) |
void |
setOverhang(int Overhang) |
void |
setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily) |
void |
setStruckOut(boolean StruckOut) |
void |
setUnderlined(boolean Underlined) |
void |
setWeight(int 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
java.lang.Throwablepublic 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.Throwablepublic int getAverageCharWidth()
throws java.lang.Throwable
java.lang.Throwablepublic char getBreakChar()
throws java.lang.Throwable
java.lang.Throwablepublic TextMetricsCharacterSet getCharSet() throws java.lang.Throwable
java.lang.Throwablepublic char getDefaultChar()
throws java.lang.Throwable
java.lang.Throwablepublic int getDescent()
throws java.lang.Throwable
java.lang.Throwablepublic int getDigitizedAspectX()
throws java.lang.Throwable
java.lang.Throwablepublic int getDigitizedAspectY()
throws java.lang.Throwable
java.lang.Throwablepublic int getExternalLeading()
throws java.lang.Throwable
java.lang.Throwablepublic char getFirstChar()
throws java.lang.Throwable
java.lang.Throwablepublic int getHeight()
throws java.lang.Throwable
java.lang.Throwablepublic int getInternalLeading()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getItalic()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic char getLastChar()
throws java.lang.Throwable
java.lang.Throwablepublic int getMaxCharWidth()
throws java.lang.Throwable
java.lang.Throwablepublic int getOverhang()
throws java.lang.Throwable
java.lang.Throwablepublic TextMetricsPitchAndFamilyValues getPitchAndFamily() throws java.lang.Throwable
java.lang.Throwablepublic boolean getStruckOut()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUnderlined()
throws java.lang.Throwable
java.lang.Throwablepublic int getWeight()
throws java.lang.Throwable
java.lang.Throwablepublic void setAscent(int Ascent)
throws java.lang.Throwable
java.lang.Throwablepublic void setAverageCharWidth(int AverageCharWidth)
throws java.lang.Throwable
java.lang.Throwablepublic void setBreakChar(char BreakChar)
throws java.lang.Throwable
java.lang.Throwablepublic void setCharSet(TextMetricsCharacterSet CharSet) throws java.lang.Throwable
java.lang.Throwablepublic void setDefaultChar(char DefaultChar)
throws java.lang.Throwable
java.lang.Throwablepublic void setDescent(int Descent)
throws java.lang.Throwable
java.lang.Throwablepublic void setDigitizedAspectX(int DigitizedAspectX)
throws java.lang.Throwable
java.lang.Throwablepublic void setDigitizedAspectY(int DigitizedAspectY)
throws java.lang.Throwable
java.lang.Throwablepublic void setExternalLeading(int ExternalLeading)
throws java.lang.Throwable
java.lang.Throwablepublic void setFirstChar(char FirstChar)
throws java.lang.Throwable
java.lang.Throwablepublic void setHeight(int Height)
throws java.lang.Throwable
java.lang.Throwablepublic void setInternalLeading(int InternalLeading)
throws java.lang.Throwable
java.lang.Throwablepublic void setItalic(boolean Italic)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic void setLastChar(char LastChar)
throws java.lang.Throwable
java.lang.Throwablepublic void setMaxCharWidth(int MaxCharWidth)
throws java.lang.Throwable
java.lang.Throwablepublic void setOverhang(int Overhang)
throws java.lang.Throwable
java.lang.Throwablepublic void setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily) throws java.lang.Throwable
java.lang.Throwablepublic void setStruckOut(boolean StruckOut)
throws java.lang.Throwable
java.lang.Throwablepublic void setUnderlined(boolean Underlined)
throws java.lang.Throwable
java.lang.Throwablepublic void setWeight(int Weight)
throws java.lang.Throwable
java.lang.Throwable