CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ISGFFileHeader

    SGF file header: format version + extensible JSON metadata.

    Namespace: STGeomApiTypes
    Assembly: STGeomApiTypes.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("A0C0C116-57FF-4188-B096-7A79C32D3D62")]
    public interface ISGFFileHeader

    Properties

    MajorVersion

    Format major version. A legacy file without header reports 0.

    Declaration
    int MajorVersion { get; }
    Property Value
    Type Description
    int

    MetaWriter

    Metadata writer (free-form JSON). Used on the write side.

    Declaration
    ISGFMetaWriter MetaWriter { get; }
    Property Value
    Type Description
    ISGFMetaWriter

    MinorVersion

    Format minor version.

    Declaration
    int MinorVersion { get; }
    Property Value
    Type Description
    int

    RawMetaJSON

    Raw metadata JSON (read side). Empty string if none.

    Declaration
    string RawMetaJSON { get; }
    Property Value
    Type Description
    string

    Methods

    Assign(ISGFFileHeader)

    Copy version and metadata from another header.

    Declaration
    void Assign(ISGFFileHeader Source)
    Parameters
    Type Name Description
    ISGFFileHeader Source
    In this article