Name
FontInfo
Synopsis
This class represents font information and is used in many controls through the WebControl.Font
property. This class
contains the font properties that are supported in ASP.NET Web Forms and differs
slightly from the System.Drawing.Font
object used in other types
of .NET applications.
Public NotInheritable Class FontInfo ' Public Instance Properties Public Property Bold As Boolean Public Property Italic As Boolean Public Property Name As String Public Property Names As String() Public Property Overline As Boolean Public Property Size As FontUnit Public Property Strikeout As Boolean Public Property Underline As Boolean ' Public Instance Methods Public Sub CopyFrom(ByVal f As FontInfo) Public Sub MergeWith(ByVal f As FontInfo) Public Function ShouldSerializeNames() As Boolean Overrides Public Function ToString() As String End Class
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.