menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Font - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Font

    Inheritance
    System.Object
    Font
    Implements
    System.IDisposable
    IClone
    Namespace: Syncfusion.Drawing
    Assembly: Syncfusion.Compression.Portable.dll
    Syntax
    public sealed class Font : Object, IDisposable, IClone

    Constructors

    Font()

    Declaration
    public Font()

    Font(String, Single)

    Declaration
    public Font(string fontFamilyName, float fontSize)
    Parameters
    Type Name Description
    System.String fontFamilyName
    System.Single fontSize

    Font(String, Single, FontStyle, GraphicsUnit, Byte)

    Declaration
    public Font(string FontName, float size, FontStyle fontstyle, GraphicsUnit unit, byte charSet)
    Parameters
    Type Name Description
    System.String FontName
    System.Single size
    FontStyle fontstyle
    GraphicsUnit unit
    System.Byte charSet

    Fields

    m_charSet

    Declaration
    public byte m_charSet
    Field Value
    Type
    System.Byte

    Properties

    Bold

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type
    System.Boolean

    FontFamilyName

    Declaration
    public string FontFamilyName { get; set; }
    Property Value
    Type
    System.String

    Italic

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type
    System.Boolean

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    System.String

    Size

    Declaration
    public float Size { get; set; }
    Property Value
    Type
    System.Single

    SizeInPoints

    Declaration
    public float SizeInPoints { get; set; }
    Property Value
    Type
    System.Single

    Strikeout

    Declaration
    public bool Strikeout { get; set; }
    Property Value
    Type
    System.Boolean

    Underline

    Declaration
    public bool Underline { get; }
    Property Value
    Type
    System.Boolean

    UnderlineStyle

    Declaration
    public UnderlineStyle UnderlineStyle { get; set; }
    Property Value
    Type
    UnderlineStyle

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Dispose()

    Declaration
    public void Dispose()

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type
    System.Int32

    Implements

    System.IDisposable
    IClone
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved