menu

WPF

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

    Show / Hide Table of Contents

    Class BitmapShapeSerializator

    This class is used for picture shapes serialization.

    Inheritance
    System.Object
    ShapeSerializator
    DrawingShapeSerializator
    BitmapShapeSerializator
    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)
    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 BitmapShapeSerializator : DrawingShapeSerializator

    Constructors

    BitmapShapeSerializator()

    Declaration
    public BitmapShapeSerializator()

    Methods

    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)

    SerializePictureFile(WorksheetDataHolder, BitmapShapeImpl, RelationCollection)

    Serializes picture file and creates necessary relations.

    Declaration
    public string SerializePictureFile(WorksheetDataHolder holder, BitmapShapeImpl picture, RelationCollection vmlRelations)
    Parameters
    Type Name Description
    WorksheetDataHolder holder

    Object that holds file data.

    BitmapShapeImpl picture

    Picture to save into file.

    RelationCollection vmlRelations
    Returns
    Type Description
    System.String

    Relation id of the generated picture item.

    SerializeShapeType(XmlWriter, Type)

    This method serializes general shape settings (shape type) into specified XmlWriter.

    Declaration
    public override void SerializeShapeType(XmlWriter writer, Type shapeType)
    Parameters
    Type Name Description
    System.Xml.XmlWriter writer

    XmlWriter to write shape type into.

    System.Type shapeType

    Type of the shape that is going to be serialized.

    Overrides
    DrawingShapeSerializator.SerializeShapeType(XmlWriter, Type)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved