MKI_SVG_IMPORT (Import and Export Classes) Changed in Version 2026.0

www.CAD6.com

C++ Syntax

class MKI_SVG_IMPORT

{

  public:

 

  MKI_FONTDEF m_cStandardFont;

 

  MKI_COLORVALUE m_cColorFill,

                 m_cColorLine;

  MKI_COLORMODEL m_cColorModeFill,

                 m_cColorModeLine;

 

  __int32 m_nOrigin,

          m_nOptions;

 

  MKI_SVG_IMPORT( void );

 

  void

  Init( void );

 

  bool

  IsIdentical( const MKI_SVG_IMPORT& f_rData ) const; New in Version 2026.0

};

 

This structure contains information for an SVG import.

 

Element Description

m_cStandardFont

[MKI_FONTDEF] Default font to be used for any missing font.

m_cColorFill

m_cColorLine

[MKI_COLORVALUE] Replacement colors for fillings and outlines originally filled with gradients and/or patterns.

m_cColorModeFill

m_cColorModeLine

[MKI_COLORMODEL] Replacement color modes for fillings and outlines originally filled with gradients and/or patterns.

m_nOrigin

[__int32] Placement of the data's origin relative to the current page (see MKI_ORIGIN_*).

m_nOptions

[__int32] Bit-wise OR combination of some options. Possible values are:

OPTION_APPLY_OFFSET

Use the original offset stored in the SVG file (if any).

OPTION_SWITCH_LINE_DISPLAY

Upon opening a SVG file, switch to zoom-dependent line width display.

OPTION_REPLACE_GRADIENT

Replace gradients with solid colors defined by ColorFill, ColorLine, ColorFillMode, and ColorLineMode.

 

MKD Syntax

This structure is used in drawing references (see MKI_ENTITY_REF) and as options for the application's -c command line parameter.

 

StandardFont,ColorFill,ColorLine,Origin,Options

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH