Multiline style data in LiteCAD LCD file Home

LiteCAD LCD file format

Data Type Amount Description
Int64 1 Unique Identifier. LC_PROP_TABLE_ID
String 1 Name. LC_PROP_TABLE_NAME
String 1 Description. LC_PROP_TABLE_DESCR
Int32 1 Flags
Int32 1 Sort priority. LC_PROP_TABLE_PRIORITY

   Application-specific data. LiteCAD don't uses this data, only provides access and storage
Int32 5 Application-specific integer values. LC_PROP_TABLE_INT0...LC_PROP_TABLE_INT4
Double 5 Application-specific floating-point values. LC_PROP_TABLE_FLOAT0...LC_PROP_TABLE_FLOAT4

   The below 2 records are exist if (Flags & 0x40000000)
Int32 1 Size (N) of application-specific XDATA buffer (number of bytes). LC_PROP_TABLE_XDATASIZE.
Byte N Application-specific XDATA buffer. LC_PROP_TABLE_XDATA

   Multiline style data
Int32 1 reserved
Double 1 reserved
Double 1 reserved
Int8 1 Number (N) of lines.   LC_PROP_MLSTYLE_NLINES
N Line definition

   Line definition
Int32 1 Line color.   LC_PROP_MLSTYLE_COLOR
Int64 1 Identifier of linetype.   LC_PROP_MLSTYLE_LTYPE
Double 1 Line offset.   LC_PROP_MLSTYLE_OFFSET