Class PropertySection
Inheritance
System.Object
PropertySection
Namespace: Syncfusion.CompoundFile.XlsIO.Net
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class PropertySection : Object
Constructors
PropertySection(Guid, Int32)
Initializes new instance of the section.
Declaration
public PropertySection(Guid guid, int sectionOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | |
System.Int32 | sectionOffset |
Properties
Count
Properties count.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Id
Section id.
Declaration
public Guid Id { get; set; }
Property Value
Type |
---|
System.Guid |
Length
Section size.
Declaration
public int Length { get; set; }
Property Value
Type |
---|
System.Int32 |
Offset
Offset to the section header.
Declaration
public int Offset { get; set; }
Property Value
Type |
---|
System.Int32 |
Properties
Gets list of all properties.
Declaration
public List<PropertyData> Properties { get; }
Property Value
Type |
---|
System.Collections.Generic.List<PropertyData> |
Methods
Parse(Stream)
Extracts properties from the stream.
Declaration
public void Parse(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to get section from. |
Serialize(Stream)
Saves section into stream.
Declaration
public void Serialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to save section into. |