Class HLinkRecord
The record represents an empty cell.
It contains the cell address and formatting information.
Inheritance
System.Object
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
HLinkRecord
Implements
System.ICloneable
System.IDisposable
Inherited Members
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()
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Biff(TBIFFRecord.HLink)]
[CLSCompliant(false)]
public class HLinkRecord : BiffRecordRawWithArray, ICloneable, IBiffStorage, IDisposable
Constructors
HLinkRecord()
Default constructor fills all data with default values.
Declaration
HLinkRecord(Int32)
Reserved for record's internal data array.
Declaration
public HLinkRecord(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.
|
HLinkRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public HLinkRecord(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 |
If stream is not specified.
|
System.ApplicationException |
If stream does not support read or seek operations.
|
Fields
FILE_UNKNOWN
Unknown block in the file link.
Declaration
public static byte[] FILE_UNKNOWN
Field Value
FILE_UNKNOWN2
Another unknown block in the file link.
Declaration
public static byte[] FILE_UNKNOWN2
Field Value
FILEMONIKER_START_BYTE
Start byte of the file moniker GUID.
Declaration
public const int FILEMONIKER_START_BYTE = 0
Field Value
GUID_FILEMONIKER
Declaration
public static readonly Guid GUID_FILEMONIKER
Field Value
GUID_FILEMONIKER_BYTES
Declaration
public static byte[] GUID_FILEMONIKER_BYTES
Field Value
GUID_LENGTH
Declaration
public const int GUID_LENGTH = 16
Field Value
GUID_STDLINK
Declaration
public static readonly Guid GUID_STDLINK
Field Value
GUID_STDLINK_BYTES
Standard link GUID bytes.
Declaration
public static byte[] GUID_STDLINK_BYTES
Field Value
GUID_URLMONIKER
Declaration
public static readonly Guid GUID_URLMONIKER
Field Value
GUID_URLMONIKER_BYTES
Declaration
public static byte[] GUID_URLMONIKER_BYTES
Field Value
STDLINK_START_BYTE
Start byte of the standard link GUID.
Declaration
public const int STDLINK_START_BYTE = 8
Field Value
URLMONIKER_START_BYTE
Start byte of the URL moniker GUID.
Declaration
public const int URLMONIKER_START_BYTE = 0
Field Value
Properties
CanBeFile
Declaration
public bool CanBeFile { get; set; }
Property Value
CanBeUnc
Declaration
public bool CanBeUnc { get; set; }
Property Value
CanBeUrl
Declaration
public bool CanBeUrl { get; set; }
Property Value
CanBeWorkbook
Declaration
public bool CanBeWorkbook { get; set; }
Property Value
Description
(optional, see option flags) Character array of description text,
no Unicode string header, always 16-bit characters, zero-terminated.
Declaration
public string Description { get; set; }
Property Value
DescriptionLen
(optional, see option flags) Character count of description text,
including trailing zero word. Read-only.
Declaration
public uint DescriptionLen { get; }
Property Value
DirUpLevel
Declaration
public ushort DirUpLevel { get; set; }
Property Value
FileName
Declaration
public string FileName { get; set; }
Property Value
FileNameLen
Declaration
public uint FileNameLen { get; }
Property Value
FirstColumn
Declaration
public uint FirstColumn { get; set; }
Property Value
FirstRow
Declaration
public uint FirstRow { get; set; }
Property Value
FollowSize
Declaration
public uint FollowSize { get; }
Property Value
IsAbsolutePathOrUrl
True if absolute path or URL.
False if relative file path.
Declaration
public bool IsAbsolutePathOrUrl { get; set; }
Property Value
IsDescription
True if there is description.
False if there is no description.
Declaration
public bool IsDescription { get; set; }
Property Value
IsFileName
Declaration
public bool IsFileName { get; set; }
Property Value
IsFileOrUrl
True if file link or URL.
False if no link.
Declaration
public bool IsFileOrUrl { get; set; }
Property Value
IsTargetFrame
True if there is a target frame.
False if there is no target frame.
Declaration
public bool IsTargetFrame { get; set; }
Property Value
IsTextMark
True if there is a text mark.
False if there is no text mark.
Declaration
public bool IsTextMark { get; set; }
Property Value
IsUncPath
True if UNC path (incl. server name).
False if file link or URL.
Declaration
public bool IsUncPath { get; set; }
Property Value
IsUrl
Declaration
public bool IsUrl { get; set; }
Property Value
LastColumn
Declaration
public uint LastColumn { get; set; }
Property Value
LastRow
Declaration
public uint LastRow { get; set; }
Property Value
LinkType
Declaration
public ExcelHyperLinkType LinkType { get; set; }
Property Value
Options
Declaration
public uint Options { get; }
Property Value
TargetFrame
(optional, see option flags) Character array of target frame,
no Unicode string header, always 16-bit characters, zero-terminated.
Declaration
public string TargetFrame { get; set; }
Property Value
TargetFrameLen
(optional, see option flags) Character count of target frame,
including trailing zero word. Read-only.
Declaration
public uint TargetFrameLen { get; }
Property Value
TextMark
(optional, see option flags) Character array of the text
mark without the "#" sign, no Unicode string header, always
16-bit characters, zero-terminated.
Declaration
public string TextMark { get; set; }
Property Value
TextMarkLen
(optional, see option flags) Character count of the text mark,
including trailing zero word.
Declaration
public uint TextMarkLen { get; }
Property Value
UncLen
Declaration
public uint UncLen { get; }
Property Value
UncPath
Declaration
public string UncPath { get; set; }
Property Value
Unknown
Unknown value: 00000002H. Read-only.
Declaration
public uint Unknown { get; }
Property Value
Url
Declaration
public string Url { get; set; }
Property Value
UrlLen
Declaration
public uint UrlLen { get; }
Property Value
XFilePath
Declaration
public string XFilePath { get; set; }
Property Value
XFilePathLen
Declaration
public uint XFilePathLen { get; }
Property Value
Methods
ParseStructure()
Parse structure of record. Converts data buffer to special
values according to record specification.
Declaration
public override void ParseStructure()
Overrides
Implements
System.ICloneable
System.IDisposable