File Formats

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTextAreaImpl

    Show / Hide Table of Contents

    Class ChartTextAreaImpl

    Represents text area in the chart.

    Inheritance
    System.Object
    CommonObject
    ChartTextAreaImpl
    ChartWrappedTextAreaImpl
    Implements
    System.IDisposable
    IChartDataLabels
    ISerializable
    IChartTextArea
    IFont
    IParentApplication
    IOptimizedUpdate
    Inherited Members
    CommonObject.m_bIsDisposed
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, Boolean)
    CommonObject.FindParent(Object, Type)
    CommonObject.FindParent(Object, Type, Boolean)
    CommonObject.FindParents(Type[])
    CommonObject.FindParent(Type[])
    CommonObject.SetParent(Object)
    CommonObject.CheckDisposed()
    CommonObject.AddReference()
    CommonObject.ReleaseReference()
    CommonObject.Dispose()
    CommonObject.OnDispose()
    CommonObject.Application
    CommonObject.Parent
    CommonObject.AppImplementation
    CommonObject.ReferenceCount
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.XlsIO.Implementation.Charts
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class ChartTextAreaImpl : CommonObject, IDisposable, IChartDataLabels, ISerializable, IInternalChartTextArea, IChartTextArea, IInternalFont, IFont, IParentApplication, IOptimizedUpdate

    Constructors

    ChartTextAreaImpl(IApplication, Object)

    Creates objects sets its Application and Parent properties to specified values.

    Declaration
    public ChartTextAreaImpl(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Application object.

    System.Object parent

    Parent object.

    ChartTextAreaImpl(IApplication, Object, ExcelObjectTextLink)

    Creates objects sets its Application and Parent properties to specified values.

    Declaration
    [CLSCompliant(false)]
    public ChartTextAreaImpl(IApplication application, object parent, ExcelObjectTextLink textLink)
    Parameters
    Type Name Description
    IApplication application

    Application object.

    System.Object parent

    Parent object.

    ExcelObjectTextLink textLink

    Text link.

    Fields

    m_rtfString

    Represents RTF string.

    Declaration
    protected IChartRichTextString m_rtfString
    Field Value
    Type Description
    IChartRichTextString

    Properties

    AttachedLabelLayout

    Return attached label layout record. Read-only

    Declaration
    public ChartAttachedLabelLayoutRecord AttachedLabelLayout { get; }
    Property Value
    Type Description
    Syncfusion.XlsIO.Parser.Biff_Records.Charts.ChartAttachedLabelLayoutRecord

    BackgroundMode

    Display mode of the background.

    Declaration
    public ExcelChartBackgroundMode BackgroundMode { get; set; }
    Property Value
    Type Description
    ExcelChartBackgroundMode

    Bold

    True if the font is bold. Read / write Boolean.

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

    ChartAI

    Returns ChartAIRecord for the text area (creates it if necessary). Read-only.

    Declaration
    [CLSCompliant(false)]
    public ChartAIRecord ChartAI { get; }
    Property Value
    Type Description
    Syncfusion.XlsIO.Parser.Biff_Records.Charts.ChartAIRecord

    ChartAlRuns

    Return ChartAlRunsRecord for the text area (creates if necessary). Read-only.

    Declaration
    [CLSCompliant(false)]
    public ChartAlrunsRecord ChartAlRuns { get; }
    Property Value
    Type Description
    Syncfusion.XlsIO.Parser.Biff_Records.Charts.ChartAlrunsRecord

    Color

    Returns or sets the primary color of the object. Read / write ExcelKnownColors.

    Declaration
    public ExcelKnownColors Color { get; set; }
    Property Value
    Type Description
    ExcelKnownColors

    ColorObject

    Returns textarea's color object. Read-only.

    Declaration
    public ColorObject ColorObject { get; }
    Property Value
    Type Description
    ColorObject

    ContainDataLabels

    Returns true if contain dataLabels otherwise false. Read-only.

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

    Delimiter

    Delimiter.

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

    Font

    Returns FontImpl for current font. Read-only.

    Declaration
    public FontImpl Font { get; }
    Property Value
    Type Description
    FontImpl

    FontIndex

    Gets the font index.

    Declaration
    public int FontIndex { get; }
    Property Value
    Type Description
    System.Int32

    FontName

    Returns or sets the font name. Read / write string.

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

    FrameFormat

    Return frame format. Read-only.

    Declaration
    public IChartFrameFormat FrameFormat { get; }
    Property Value
    Type Description
    IChartFrameFormat

    HasText

    Indicates whether text area contains text.

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

    HasTextRotation

    Gets value indicating whether TextRotation was changed. Read-only.

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

    Index

    Returns font index. Read-only.

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    System.Int32

    IsAutoColor

    Indicates whether color has automatic color. Read-only.

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

    IsAutoMode

    True if background is set to automatic.

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

    IsBubbleSize

    Indicates whether bubble size is in data labels.

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

    IsCategoryName

    Indicates whether category name is in data labels.

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

    IsFormula

    Gets or sets a value indicating whether this instance is formula.

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

    true if this instance is formula; otherwise, false.

    IsLegendKey

    Indicates whether legend key is in data labels.

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

    IsPercentage

    Indicates whether percentage is in data labels.

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

    IsSeriesName

    Indicates whether series name is in data labels.

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

    IsShowLabelPercent

    Gets or sets value indicating whether to show category label and value as percentage.

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

    IsTrend

    Indicates if current text assign to trend object.

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

    IsValue

    Indicates whether value is in data labels.

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

    IsValueFromCells

    Gets and sets boolean value indicating whether display to value from cells value to datalabels.

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

    Italic

    True if the font style is italic. Read / write Boolean.

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

    Layout

    Gets or sets Excel 2007 layout data

    Declaration
    public IChartLayout Layout { get; set; }
    Property Value
    Type Description
    IChartLayout

    MacOSOutlineFont

    True if the font is an outline font. Read / write Boolean.

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

    MacOSShadow

    True if the font is a shadow font or if the object has a shadow. Read / write Boolean.

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

    NumberFormat

    Gets / sets number format for the text area.

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

    NumberFormatIndex

    Gets index to the number format. Read-only.

    Declaration
    public int NumberFormatIndex { get; }
    Property Value
    Type Description
    System.Int32

    ObjectLink

    Gets object link record. Read-only.

    Declaration
    [CLSCompliant(false)]
    public ChartObjectLinkRecord ObjectLink { get; }
    Property Value
    Type Description
    Syncfusion.XlsIO.Parser.Biff_Records.Charts.ChartObjectLinkRecord

    ParagraphType

    Represents the TextArea Paragraph

    Declaration
    public ChartParagraphType ParagraphType { get; set; }
    Property Value
    Type Description
    ChartParagraphType

    ParentWorkbook

    Returns parent workbook object.

    Declaration
    public WorkbookImpl ParentWorkbook { get; }
    Property Value
    Type Description
    WorkbookImpl

    Position

    Represents data labels position.

    Declaration
    public ExcelDataLabelPosition Position { get; set; }
    Property Value
    Type Description
    ExcelDataLabelPosition

    RGBColor

    Gets / sets font color. If there is at least one free color, define a new color; if not, search for the closest one in workbook palette.

    Declaration
    public Color RGBColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    RichText

    Gets rich text.

    Declaration
    public IChartRichTextString RichText { get; }
    Property Value
    Type Description
    IChartRichTextString

    ShouldSerialize

    Indicates whether object should be serialized. Read-only.

    Declaration
    protected virtual bool ShouldSerialize { get; }
    Property Value
    Type Description
    System.Boolean

    ShowLeaderLines

    Indicates whether Leader Lines is in data labels.

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

    Size

    Returns or sets the size of the font. Read / write Variant.

    Declaration
    public double Size { get; set; }
    Property Value
    Type Description
    System.Double

    Strikethrough

    True if the font is struck through with a horizontal line. Read / write Boolean

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

    Subscript

    True if the font is formatted as subscript. False by default. Read / write Boolean.

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

    Superscript

    True if the font is formatted as superscript. False by default. Read/write Boolean

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

    Text

    Text.

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

    TextRecord

    Returns chart text record. Read-only.

    Declaration
    [CLSCompliant(false)]
    public ChartTextRecord TextRecord { get; }
    Property Value
    Type Description
    Syncfusion.XlsIO.Parser.Biff_Records.Charts.ChartTextRecord

    TextRotationAngle

    Text rotation angle.

    Declaration
    public int TextRotationAngle { get; set; }
    Property Value
    Type Description
    System.Int32

    Underline

    Returns or sets the type of underline applied to the font. Can be one of the following ExcelUnderlineStyle constants. Read / write ExcelUnderline.

    Declaration
    public ExcelUnderline Underline { get; set; }
    Property Value
    Type Description
    ExcelUnderline

    ValueFromCellsRange

    Gets and sets indicating whether value from cells range in datalables.

    Declaration
    public IRange ValueFromCellsRange { get; set; }
    Property Value
    Type Description
    IRange

    VerticalAlignment

    Gets / sets font vertical alignment.

    Declaration
    public ExcelFontVertialAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    ExcelFontVertialAlignment

    Methods

    BeginUpdate()

    This method should be called before several updates to the object will take place.

    Declaration
    public void BeginUpdate()

    Clone(Object)

    Creates object that is copy of the current instance.

    Declaration
    public object Clone(object parent)
    Parameters
    Type Name Description
    System.Object parent

    Parent object for create new instance.

    Returns
    Type Description
    System.Object

    Returns clone of current object.

    Clone(Object, Dictionary<Int32, Int32>, Dictionary<String, String>)

    Clone current record.

    Declaration
    public object Clone(object parent, Dictionary<int, int> dicFontIndexes, Dictionary<string, string> dicNewSheetNames)
    Parameters
    Type Name Description
    System.Object parent

    Parent object for create new instance.

    System.Collections.Generic.Dictionary<System.Int32, System.Int32> dicFontIndexes

    Dictionary with new font indexes.

    System.Collections.Generic.Dictionary<System.String, System.String> dicNewSheetNames

    Dictionary with new worksheet names.

    Returns
    Type Description
    System.Object

    Returns clone of current object.

    CreateFrameFormat()

    Creates frame format.

    Declaration
    protected virtual ChartFrameFormatImpl CreateFrameFormat()
    Returns
    Type Description
    ChartFrameFormatImpl

    Newly created frame format.

    CreateRichTextString()

    Creates rich text string.

    Declaration
    protected void CreateRichTextString()

    EndUpdate()

    This method should be called after several updates to the object took place.

    Declaration
    public void EndUpdate()

    GenerateNativeFont()

    Generates .Net font object corresponding to the current font.

    Declaration
    public Font GenerateNativeFont()
    Returns
    Type Description
    System.Drawing.Font

    Generated .Net font.

    InitFrameFormat()

    Initializes frame format.

    Declaration
    protected void InitFrameFormat()

    MarkUsedReferences(Boolean[])

    Sets items with used reference indexes to true.

    Declaration
    public void MarkUsedReferences(bool[] usedItems)
    Parameters
    Type Name Description
    System.Boolean[] usedItems

    Array to mark used references in.

    UpdateAsTrend()

    Updates record for serialize as trend line data label.

    Declaration
    public void UpdateAsTrend()

    UpdateReferenceIndexes(Int32[])

    Updates reference indexes.

    Declaration
    public void UpdateReferenceIndexes(int[] arrUpdatedIndexes)
    Parameters
    Type Name Description
    System.Int32[] arrUpdatedIndexes

    Array with updated indexes.

    UpdateSerieIndex(Int32)

    Updates Series index.

    Declaration
    public void UpdateSerieIndex(int iNewIndex)
    Parameters
    Type Name Description
    System.Int32 iNewIndex

    Index to set.

    Implements

    System.IDisposable
    IChartDataLabels
    ISerializable
    IChartTextArea
    IFont
    IParentApplication
    IOptimizedUpdate
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved