Class TextMetrics
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.windows.forms.visualstyles.TextMetrics
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class TextMetrics extends ValueType
The base .NET class managing System.Windows.Forms.VisualStyles.TextMetrics, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.VisualStyles.TextMetricsstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TextMetrics()TextMetrics(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextMetricscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTextMetrics, a cast assert is made to check if types are compatible.intgetAscent()intgetAverageCharWidth()chargetBreakChar()TextMetricsCharacterSetgetCharSet()chargetDefaultChar()intgetDescent()intgetDigitizedAspectX()intgetDigitizedAspectY()intgetExternalLeading()chargetFirstChar()intgetHeight()intgetInternalLeading()booleangetItalic()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypechargetLastChar()intgetMaxCharWidth()intgetOverhang()TextMetricsPitchAndFamilyValuesgetPitchAndFamily()booleangetStruckOut()booleangetUnderlined()intgetWeight()voidsetAscent(int Ascent)voidsetAverageCharWidth(int AverageCharWidth)voidsetBreakChar(char BreakChar)voidsetCharSet(TextMetricsCharacterSet CharSet)voidsetDefaultChar(char DefaultChar)voidsetDescent(int Descent)voidsetDigitizedAspectX(int DigitizedAspectX)voidsetDigitizedAspectY(int DigitizedAspectY)voidsetExternalLeading(int ExternalLeading)voidsetFirstChar(char FirstChar)voidsetHeight(int Height)voidsetInternalLeading(int InternalLeading)voidsetItalic(boolean Italic)voidsetJCOInstance(JCObject instance)voidsetLastChar(char LastChar)voidsetMaxCharWidth(int MaxCharWidth)voidsetOverhang(int Overhang)voidsetPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily)voidsetStruckOut(boolean StruckOut)voidsetUnderlined(boolean Underlined)voidsetWeight(int Weight)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.VisualStyles.TextMetrics- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TextMetrics cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTextMetrics, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TextMetricsinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getItalic
public boolean getItalic() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setItalic
public void setItalic(boolean Italic) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStruckOut
public boolean getStruckOut() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStruckOut
public void setStruckOut(boolean StruckOut) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUnderlined
public boolean getUnderlined() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUnderlined
public void setUnderlined(boolean Underlined) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBreakChar
public char getBreakChar() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBreakChar
public void setBreakChar(char BreakChar) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDefaultChar
public char getDefaultChar() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDefaultChar
public void setDefaultChar(char DefaultChar) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFirstChar
public char getFirstChar() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFirstChar
public void setFirstChar(char FirstChar) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLastChar
public char getLastChar() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLastChar
public void setLastChar(char LastChar) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAscent
public int getAscent() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAscent
public void setAscent(int Ascent) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAverageCharWidth
public int getAverageCharWidth() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAverageCharWidth
public void setAverageCharWidth(int AverageCharWidth) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDescent
public int getDescent() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDescent
public void setDescent(int Descent) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDigitizedAspectX
public int getDigitizedAspectX() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDigitizedAspectX
public void setDigitizedAspectX(int DigitizedAspectX) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDigitizedAspectY
public int getDigitizedAspectY() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDigitizedAspectY
public void setDigitizedAspectY(int DigitizedAspectY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getExternalLeading
public int getExternalLeading() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setExternalLeading
public void setExternalLeading(int ExternalLeading) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getHeight
public int getHeight() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setHeight
public void setHeight(int Height) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getInternalLeading
public int getInternalLeading() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setInternalLeading
public void setInternalLeading(int InternalLeading) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMaxCharWidth
public int getMaxCharWidth() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxCharWidth
public void setMaxCharWidth(int MaxCharWidth) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOverhang
public int getOverhang() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOverhang
public void setOverhang(int Overhang) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getWeight
public int getWeight() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setWeight
public void setWeight(int Weight) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCharSet
public TextMetricsCharacterSet getCharSet() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCharSet
public void setCharSet(TextMetricsCharacterSet CharSet) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPitchAndFamily
public TextMetricsPitchAndFamilyValues getPitchAndFamily() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPitchAndFamily
public void setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-