WPF

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

    Show / Hide Table of Contents

    Class BitmapRecord

    This record is part of the Page Settings Block. It stores the background bitmap of a worksheet.

    Inheritance
    System.Object
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
    BiffRecordRawWithArray
    BiffContinueRecordRaw
    BitmapRecord
    Implements
    System.ICloneable
    IBiffStorage
    System.IDisposable
    Inherited Members
    BiffContinueRecordRaw.m_extractor
    BiffContinueRecordRaw.m_arrContinuePos
    BiffContinueRecordRaw.CreateBuilder()
    BiffContinueRecordRaw.FillRecord(BinaryReader, DataProvider, IDecryptor, Byte[])
    BiffContinueRecordRaw.FillStream(BinaryWriter, IEncryptor, Int32)
    BiffContinueRecordRaw.ExtractContinueRecords()
    BiffContinueRecordRaw.CollectRecordsData(Int32, Int32)
    BiffContinueRecordRaw.AddRecordData(List<Byte[]>, BiffRecordRaw)
    BiffContinueRecordRaw.builder_OnFirstContinue(Object, EventArgs)
    BiffContinueRecordRaw.AddContinueRecordType(TBIFFRecord)
    BiffContinueRecordRaw.Clone()
    BiffContinueRecordRaw.Builder
    BiffRecordRawWithArray.m_data
    BiffRecordRawWithArray.FillStream(BinaryWriter, DataProvider, IEncryptor, Int32)
    BiffRecordRawWithArray.ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
    BiffRecordRawWithArray.CheckOffsetAndLength(Int32, Int32)
    BiffRecordRawWithArray.GetBytes(Int32, Int32)
    BiffRecordRawWithArray.GetByte(Int32)
    BiffRecordRawWithArray.GetUInt16(Int32)
    BiffRecordRawWithArray.GetInt16(Int32)
    BiffRecordRawWithArray.GetInt32(Int32)
    BiffRecordRawWithArray.GetUInt32(Int32)
    BiffRecordRawWithArray.GetInt64(Int32)
    BiffRecordRawWithArray.GetUInt64(Int32)
    BiffRecordRawWithArray.GetFloat(Int32)
    BiffRecordRawWithArray.GetDouble(Int32)
    BiffRecordRawWithArray.GetBit(Int32, Int32)
    BiffRecordRawWithArray.GetString16BitUpdateOffset(Int32, Boolean)
    BiffRecordRawWithArray.GetString16BitUpdateOffset(Int32)
    BiffRecordRawWithArray.GetStringUpdateOffset(Int32, Int32)
    BiffRecordRawWithArray.GetStringByteLen(Int32)
    BiffRecordRawWithArray.GetStringByteLen(Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32, Int32, Boolean)
    BiffRecordRawWithArray.GetUnkTypeString(Int32, IList<Int32>, Int32, Int32, Int32, Byte[], Byte[])
    BiffRecordRawWithArray.GetAddr(Int32)
    BiffRecordRawWithArray.GetAddrAsRectangle(Int32)
    BiffRecordRawWithArray.EnlargeDataStorageIfNeeded(Int32, Int32)
    BiffRecordRawWithArray.Reserve(Int32)
    BiffRecordRawWithArray.SetBytes(Int32, Byte[], Int32, Int32)
    BiffRecordRawWithArray.SetBytes(Int32, Byte[])
    BiffRecordRawWithArray.SetByte(Int32, Byte)
    BiffRecordRawWithArray.SetByte(Int32, Byte, Int32)
    BiffRecordRawWithArray.SetUInt16(Int32, UInt16)
    BiffRecordRawWithArray.SetInt16(Int32, Int16)
    BiffRecordRawWithArray.SetInt32(Int32, Int32)
    BiffRecordRawWithArray.SetUInt32(Int32, UInt32)
    BiffRecordRawWithArray.SetInt64(Int32, Int64)
    BiffRecordRawWithArray.SetUInt64(Int32, UInt64)
    BiffRecordRawWithArray.SetFloat(Int32, Single)
    BiffRecordRawWithArray.SetDouble(Int32, Double)
    BiffRecordRawWithArray.SetBit(Int32, Boolean, Int32)
    BiffRecordRawWithArray.SetStringNoLenUpdateOffset(Int32, String, Boolean)
    BiffRecordRawWithArray.SetStringNoLenDetectEncoding(Int32, String)
    BiffRecordRawWithArray.IsAsciiString(String)
    BiffRecordRawWithArray.SetStringNoLen(Int32, String)
    BiffRecordRawWithArray.SetStringNoLen(Int32, String, Boolean, Boolean)
    BiffRecordRawWithArray.SetStringByteLen(Int32, String)
    BiffRecordRawWithArray.SetString16BitLen(Int32, String)
    BiffRecordRawWithArray.SetString16BitLen(Int32, String, Boolean, Boolean)
    BiffRecordRawWithArray.SetString16BitUpdateOffset(Int32, String)
    BiffRecordRawWithArray.SetString16BitUpdateOffset(Int32, String, Boolean)
    BiffRecordRawWithArray.SetAddr(Int32, TAddr)
    BiffRecordRawWithArray.SetAddr(Int32, Rectangle)
    BiffRecordRawWithArray.GetSortedFields()
    BiffRecordRawWithArray.AutoExtractFields()
    BiffRecordRawWithArray.GetValueByAttributeType(BiffRecordPosAttribute)
    BiffRecordRawWithArray.AutoInfillFromFields()
    BiffRecordRawWithArray.SetValueByAttributeType(BiffRecordPosAttribute, Object)
    BiffRecordRawWithArray.ClearData()
    BiffRecordRawWithArray.IsEqual(BiffRecordRaw)
    BiffRecordRawWithArray.CopyTo(BiffRecordRaw)
    BiffRecordRawWithArray.GetStoreSize(ExcelVersion)
    BiffRecordRawWithArray.Dispose()
    BiffRecordRawWithArray.OnDispose()
    BiffRecordRawWithArray.Data
    BiffRecordRawWithArray.AutoGrowData
    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.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    [Biff(TBIFFRecord.Bitmap)]
    [CLSCompliant(false)]
    public class BitmapRecord : BiffContinueRecordRaw, ICloneable, IBiffStorage, IDisposable

    Constructors

    BitmapRecord()

    Default Constructor

    Declaration
    public BitmapRecord()

    BitmapRecord(Int32)

    Reserved for the record's internal data array.

    Declaration
    public BitmapRecord(int iReserve)
    Parameters
    Type Name Description
    System.Int32 iReserve

    Amount of bytes for data array.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    If amount of bytes requested is less than zero.

    BitmapRecord(Stream, out Int32)

    Read / initialize Constructor.

    Declaration
    public BitmapRecord(Stream stream, out int itemSize)
    Parameters
    Type Name Description
    System.IO.Stream stream

    Stream from which record data should be read.

    System.Int32 itemSize

    Size of read item.

    Exceptions
    Type Condition
    System.ArgumentNullException

    When stream is not specified.

    System.ApplicationException

    When stream does not support read or seek operations.

    Properties

    ColorDepth

    Color depth, must be 24 bit true-color.

    Declaration
    public ushort ColorDepth { get; set; }
    Property Value
    Type Description
    System.UInt16

    HeaderSize

    Header structure size.

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

    Height

    Height of the picture, in pixel.

    Declaration
    public ushort Height { get; set; }
    Property Value
    Type Description
    System.UInt16

    Picture

    Image.

    Declaration
    public Bitmap Picture { get; set; }
    Property Value
    Type Description
    System.Drawing.Bitmap

    Planes

    Number of planes, must be 1.

    Declaration
    public ushort Planes { get; set; }
    Property Value
    Type Description
    System.UInt16

    TotalSize

    Total size of the following record data, without this field (including CONTINUE records).

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

    Unknown

    Unknown value.

    Declaration
    public ushort Unknown { get; set; }
    Property Value
    Type Description
    System.UInt16

    Unknown2

    Unknown value.

    Declaration
    public ushort Unknown2 { get; set; }
    Property Value
    Type Description
    System.UInt16

    Width

    Width of the picture, in pixel.

    Declaration
    public ushort Width { get; set; }
    Property Value
    Type Description
    System.UInt16

    Methods

    ParseStructure()

    Parse structure of record. Converts data buffer to special values according to record specification.

    Declaration
    public override void ParseStructure()
    Overrides
    BiffContinueRecordRaw.ParseStructure()

    Implements

    System.ICloneable
    IBiffStorage
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved