menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartShapeSerializator - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartShapeSerializator

    This class is responsible for chart shape serialization.

    Inheritance
    System.Object
    ShapeSerializator
    DrawingShapeSerializator
    ChartShapeSerializator
    Inherited Members
    DrawingShapeSerializator.GetEditAsValue(ShapeImpl)
    DrawingShapeSerializator.SerializeFill(XmlWriter, ShapeImpl, FileDataHolder, RelationCollection)
    DrawingShapeSerializator.SerializeForm(XmlWriter, String, String, Int32, Int32, Int32, Int32)
    DrawingShapeSerializator.SerializeForm(XmlWriter, String, String, Int32, Int32, Int32, Int32, IShape)
    DrawingShapeSerializator.SerializeNVCanvasProperties(XmlWriter, ShapeImpl, WorksheetDataHolder, String)
    DrawingShapeSerializator.SerializePresetGeometry(XmlWriter, String)
    DrawingShapeSerializator.SerializeShapeType(XmlWriter, Type)
    ShapeSerializator.FalseAttributeValue
    ShapeSerializator.GenerateHexColor(Color)
    ShapeSerializator.GeneratePatternName(ExcelGradientPattern)
    ShapeSerializator.GetAnchorValue(ShapeImpl)
    ShapeSerializator.GetDashStyle(ExcelShapeDashLineStyle)
    ShapeSerializator.GetLineStyle(ExcelShapeLineStyle)
    ShapeSerializator.GetOpacityFormat(Double)
    ShapeSerializator.GetPresetString(ExcelGradientPreset)
    ShapeSerializator.IsEmptyColor(Color)
    ShapeSerializator.PrepareGradientDegree(Double)
    ShapeSerializator.RemovePrecedingZeroes(String)
    ShapeSerializator.SerializeClientData(XmlWriter, ShapeImpl, String)
    ShapeSerializator.SerializeClientDataAdditional(XmlWriter, ShapeImpl)
    ShapeSerializator.SerializeFill(XmlWriter, ShapeImpl, WorksheetDataHolder, RelationCollection)
    ShapeSerializator.SerializeFillCommon(XmlWriter, TextBoxShapeBase)
    ShapeSerializator.SerializeGradientFill(XmlWriter, TextBoxShapeBase)
    ShapeSerializator.SerializeGradientFillCommon(XmlWriter, TextBoxShapeBase)
    ShapeSerializator.SerializeLine(XmlWriter, TextBoxShapeBase, FileDataHolder, RelationCollection)
    ShapeSerializator.SerializePatternFill(XmlWriter, TextBoxShapeBase, FileDataHolder, RelationCollection)
    ShapeSerializator.SerializePatternLine(XmlWriter, TextBoxShapeBase, FileDataHolder, RelationCollection)
    ShapeSerializator.SerializePictureFill(XmlWriter, TextBoxShapeBase, FileDataHolder, RelationCollection)
    ShapeSerializator.SerializeSolidFill(XmlWriter, TextBoxShapeBase)
    ShapeSerializator.SerializeTextureFill(XmlWriter, TextBoxShapeBase, FileDataHolder, RelationCollection)
    ShapeSerializator.SerializeUserPicture(XmlWriter, TextBoxShapeBase, FileDataHolder, RelationCollection)
    ShapeSerializator.TrueAttributeValue
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization.Shapes
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class ChartShapeSerializator : DrawingShapeSerializator

    Constructors

    ChartShapeSerializator()

    Declaration
    public ChartShapeSerializator()

    Fields

    ChartItemPath

    Format for the default chart item.

    Declaration
    public const string ChartItemPath = "/xl/charts/chart{0}.xml"
    Field Value
    Type
    System.String

    Methods

    GetChartFileName(WorksheetDataHolder, ChartImpl)

    Generates item name for the new chart object.

    Declaration
    public static string GetChartFileName(WorksheetDataHolder holder, ChartImpl chart)
    Parameters
    Type Name Description
    WorksheetDataHolder holder

    Parent worksheet data holder.

    ChartImpl chart

    Chart to generate name for.

    Returns
    Type Description
    System.String

    Item name that should be used to save chart.

    Serialize(XmlWriter, ShapeImpl, WorksheetDataHolder, RelationCollection)

    This method serializes specified shape into specified writer.

    Declaration
    public override void Serialize(XmlWriter writer, ShapeImpl shape, WorksheetDataHolder holder, RelationCollection vmlRelations)
    Parameters
    Type Name Description
    System.Xml.XmlWriter writer

    XmlWriter to serialize shape settings into.

    ShapeImpl shape

    Shape to serialize.

    WorksheetDataHolder holder

    Parent worksheet data holder.

    RelationCollection vmlRelations
    Overrides
    DrawingShapeSerializator.Serialize(XmlWriter, ShapeImpl, WorksheetDataHolder, RelationCollection)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved