Click or drag to resize
FontSize Class
Represents the font size in points for formatted text.
Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
[SerializableAttribute]
public class FontSize : AbstractFormattingItem

The FontSize type exposes the following members.

Constructors
  NameDescription
Public methodFontSize
Constructs a font size with the default size (12 pt).
Public methodFontSize(Single)
Specifies an explicit font size.
Top
Properties
  NameDescription
Public propertyFormattingName
The name of this type of formatting. The default implementation returns the type name of the actual class, but this can be overridden in derived classes.

The name may be used as an attribute name when storing this formatting in XML format, in which case the value of the attribute represents the StringValue property.

(Inherited from AbstractFormattingItem.)
Public propertyLocalizedFormattingName
A localized representation of this type of formatting
(Overrides AbstractFormattingItemLocalizedFormattingName.)
Public propertyLocalizedStringValue
A localized representation of the formatting value. The default implementation returns StringValue.
(Inherited from AbstractFormattingItem.)
Public propertyStatic memberName
The string used as name for this type of formatting.
Public propertyStringValue
String representation of the font size.
(Overrides AbstractFormattingItemStringValue.)
Public propertyValue
The font size in points
Top
Methods
  NameDescription
Public methodAcceptVisitor
Calls VisitFontSize(FontSize) on the visitor.
(Overrides AbstractFormattingItemAcceptVisitor(IFormattingVisitor).)
Public methodClone
Creates a clone of this object.
(Overrides AbstractFormattingItemClone.)
Public methodEquals
Compares the name and value properties of the objects.
(Inherited from AbstractFormattingItem.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Inherited from AbstractFormattingItem.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
For debugging; returns "FormattingName = StringValue".
(Inherited from AbstractFormattingItem.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments