GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    Format Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a base class for all formats.

    • C#
    • VB.NET
    public abstract class Format
    Public MustInherit Class Format
    Inheritance:
    System.Object
    Format
    Derived
    CharacterFormat
    ListFormat
    ListLevelFormat
    ParagraphFormat
    TableCellFormat
    TableFormat
    TableRowFormat
    TableStyleFormat
    Remarks

    For more information, see formats and styles.

    Properties

    Document

    Gets the owner document.

    • C#
    • VB.NET
    public DocumentModel Document { get; }
    Public ReadOnly Property Document As DocumentModel
    Property Value
    DocumentModel

    The owner document.

    Methods

    ClearFormatting()

    Clears the formatting.

    • C#
    • VB.NET
    public abstract void ClearFormatting()
    Public MustOverride Sub ClearFormatting
    Remarks

    This method will clear all directly set formatting values. When retrieving formatting value, they can still come from other sources, as explained in formats and styles article.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.