[StructLayout(LayoutKind.Sequential)]
public struct OUTLINETEXTMETRIC
{
public uint otmSize;
public TEXTMETRIC otmTextMetrics;
public byte otmFiller;
public PANOSE otmPanoseNumber;
public uint otmfsSelection;
public uint otmfsType;
public int otmsCharSlopeRise;
public int otmsCharSlopeRun;
public int otmItalicAngle;
public uint otmEMSquare;
public int otmAscent;
public int otmDescent;
public uint otmLineGap;
public uint otmsCapEmHeight;
public uint otmsXHeight;
public RECT otmrcFontBox;
public int otmMacAscent;
public int otmMacDescent;
public uint otmMacLineGap;
public uint otmusMinimumPPEM;
public POINT otmptSubscriptSize;
public POINT otmptSubscriptOffset;
public POINT otmptSuperscriptSize;
public POINT otmptSuperscriptOffset;
public uint otmsStrikeoutSize;
public int otmsStrikeoutPosition;
public int otmsUnderscoreSize;
public int otmsUnderscorePosition;
public IntPtr otmpFamilyName;
public IntPtr otmpFaceName;
public IntPtr otmpStyleName;
public IntPtr otmpFullName;
}
<StructLayout(LayoutKind.Sequential)> _
Private Structure OUTLINETEXTMETRIC
Public otmSize As UInt32
Public otmTextMetrics As TEXTMETRIC
Public otmFiller As Byte
Public otmPanoseNumber As PANOSE
Public otmfsSelection As UInt32
Public otmfsType As UInt32
Public otmsCharSlopeRise As Int32
Public otmsCharSlopeRun As Int32
Public otmItalicAngle As Int32
Public otmEMSquare As UInt32
Public otmAscent As Int32
Public otmDescent As Int32
Public otmLineGap As UInt32
Public otmsCapEmHeight As UInt32
Public otmsXHeight As UInt32
Public otmrcFontBox As modWin32.RECT
Public otmMacAscent As Int32
Public otmMacDescent As Int32
Public otmMacLineGap As UInt32
Public otmusMinimumPPEM As UInt32
Public otmptSubscriptSize As modWin32.POINTAPI
Public otmptSubscriptOffset As modWin32.POINTAPI
Public otmptSuperscriptSize As modWin32.POINTAPI
Public otmptSuperscriptOffset As modWin32.POINTAPI
Public otmsStrikeoutSize As UInt32
Public otmsStrikeoutPosition As Int32
Public otmsUnderscoreSize As Int32
Public otmsUnderscorePosition As Int32
Public otmpFamilyName As UInt32
Public otmpFaceName As UInt32
Public otmpStyleName As UInt32
Public otmpFullName As UInt32
End Structure
None.