skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Struct FontTextMetrics

Contains font metrics information for text measurement and rendering calculations.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll

Syntax

public struct FontTextMetrics

Fields

ascent

The ascent of the font, measured from the baseline to the top of characters.

Declaration
public int ascent
Field Value
System.Int32

aveCharWidth

The average width of characters in the font.

Declaration
public int aveCharWidth
Field Value
System.Int32

descent

The descent of the font, measured from the baseline to the bottom of characters.

Declaration
public int descent
Field Value
System.Int32

digitizedAspectX

The horizontal aspect ratio of the device for which the font was designed.

Declaration
public int digitizedAspectX
Field Value
System.Int32

digitizedAspectY

The vertical aspect ratio of the device for which the font was designed.

Declaration
public int digitizedAspectY
Field Value
System.Int32

externalLeading

The external leading space recommended between lines.

Declaration
public int externalLeading
Field Value
System.Int32

height

The total height of the font, including internal leading.

Declaration
public int height
Field Value
System.Int32

internalLeading

The internal leading space within the font height.

Declaration
public int internalLeading
Field Value
System.Int32

maxCharWidth

The maximum width of any character in the font.

Declaration
public int maxCharWidth
Field Value
System.Int32

overhang

The overhang for italic and styled fonts.

Declaration
public int overhang
Field Value
System.Int32

weight

The weight of the font (thickness of strokes).

Declaration
public int weight
Field Value
System.Int32

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.