This documentation is archived and is not being maintained.

WmlMobileTextWriter::WmlFormat Class

Stores the font format attributes. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System::Object
  System.Web.UI.MobileControls.Adapters::WmlMobileTextWriter::WmlFormat

Namespace:  System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
protected ref class WmlFormat

The WmlMobileTextWriter::WmlFormat type exposes the following members.

  NameDescription
Public methodWmlMobileTextWriter::WmlFormat(Style, WmlMobileTextWriter::WmlFormat)Initializes a new instance of WmlMobileTextWriter::WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public methodWmlMobileTextWriter::WmlFormat(Boolean, Boolean, FontSize)Initializes a new instance of WmlMobileTextWriter::WmlFormat. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Top

  NameDescription
Public propertyBoldSets or returns whether the font is bold. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyItalicGets or sets a value indicating whether the font is italic. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertySizeGets or sets the specified font size. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyWrittenBoldGets or sets a value that indicates whether the text was written with the bold attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyWrittenItalicGets or sets a value that indicates whether the text was written with the italic attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyWrittenSizeGets or sets a value that indicates whether the text was written with the size attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Top

  NameDescription
Public methodCompareCompares a WmlMobileTextWriter::WmlFormat object to the current WmlMobileTextWriter::WmlFormat object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The WmlMobileTextWriter::WmlFormat class is used by the WmlMobileTextWriter class.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: