MKI_TEXTREFERENCE (Entity Data Classes) Changed in Version 2022.1

www.CAD6.com

C++ Syntax

class MKI_TEXTREFERENCE

{

  public:

 

  __int32 m_nArrowForm,

          m_nArrowMode,

          m_nFrameForm;

  double m_dFrameOffset;

 

  void

  Init( void );

 

  bool

  IsIdentical( const MKI_TEXTREFERENCE& f_rData ) const; New in Version 2022.1

};

 

This structure contains extended settings for a reference text.

 

Element Description

ArrowForm

[__int32] Determines the form of the arrow at the start-point (x,y) of the reference line (see MKI_ARROWFORM_*).

ArrowMode

[__int32] Determines the form of the reference line (see MKI_REFARROW_*).

FrameForm

[__int32] Determines, which form the surrounding frame of the text shall have (see MKI_REFFRAME_*):

FrameOffset

[double] Determines the minimum distance between text itself and its surrounding frame.

 

MKD Syntax

A data block of type MKI_DB_INFO_TEXTREFERENCE (237) is used to store the parameters for reference texts.

 

ArrowForm,ArrowMode,FrameForm,FrameOffset

 

Example

|ArrowForm,ArrowMode,FrameForm,FrameOffset|

1,1,0,2

 

The text will be displayed inside a circle, whose radius will be 2 mm larger than the minimum circle surrounding the text. The reference line will have a bend of 45° at the arrow's end, the arrow will be a filled triangle.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH