menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HFImageSerializator - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HFImageSerializator

    This class is responsible for header/footer image serialization.

    Inheritance
    System.Object
    ShapeSerializator
    HFImageSerializator
    VmlBitmapSerializator
    Inherited Members
    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
    Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization.Shapes
    Assembly: Syncfusion.XlsIO.Portable.dll
    Syntax
    public class HFImageSerializator : ShapeSerializator

    Constructors

    HFImageSerializator()

    Initializes a new instance of HFimageSerializator Class.

    Declaration
    public HFImageSerializator()

    Methods

    GetHeight(BitmapShapeImpl)

    Gets height of the shape.

    Declaration
    protected virtual int GetHeight(BitmapShapeImpl bitmap)
    Parameters
    Type Name Description
    BitmapShapeImpl bitmap
    Returns
    Type
    System.Int32

    GetWidth(BitmapShapeImpl)

    Gets width of the shape.

    Declaration
    protected virtual int GetWidth(BitmapShapeImpl bitmap)
    Parameters
    Type Name Description
    BitmapShapeImpl bitmap
    Returns
    Type
    System.Int32

    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
    ShapeSerializator.Serialize(XmlWriter, ShapeImpl, WorksheetDataHolder, RelationCollection)

    SerializeImageData(XmlWriter, ShapeImpl, WorksheetDataHolder, String, Boolean, RelationCollection)

    Serializes imageData xml tag.

    Declaration
    protected void SerializeImageData(XmlWriter writer, ShapeImpl shape, WorksheetDataHolder holder, string title, bool useRawFormat, RelationCollection relations)
    Parameters
    Type Name Description
    System.Xml.XmlWriter writer

    XmlWriter to serialize into.

    ShapeImpl shape

    Shape to get data to serialize from.

    WorksheetDataHolder holder

    Parent worksheet data holder.

    System.String title
    System.Boolean useRawFormat
    RelationCollection relations

    SerializePicture(ShapeImpl, WorksheetDataHolder, Boolean, RelationCollection)

    This method is used to serialize picture item.

    Declaration
    protected virtual string SerializePicture(ShapeImpl shape, WorksheetDataHolder holder, bool useRawFormat, RelationCollection relations)
    Parameters
    Type Name Description
    ShapeImpl shape

    Shape to serialize.

    WorksheetDataHolder holder

    Parent worksheet data holder.

    System.Boolean useRawFormat
    RelationCollection relations
    Returns
    Type Description
    System.String

    String value containing relation id.

    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
    ShapeSerializator.SerializeShapeType(XmlWriter, Type)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved