MKI_PDF_IMPORT (Import and Export Classes) Changed in Version 2026.0

www.CAD6.com

C++ Syntax

class MKI_PDF_IMPORT : public MKI_DWGDXF_IMPORT

{

  public:

 

  __int32 m_nPDFPageMode,

          m_nPDFOptions;

  MKI_STR256W m_szPDFPageNumberString;

  MKI_PENLAYERNAME m_szPDFDefaultLayerName;

 

  MKI_PDF_IMPORT( void );

 

  void

  Init( void );

 

  bool

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

};

 

This structure contains information for a PDF import. Please refer to the help text of the corresponding CAD6 command for more details.

 

Element Description

m_nPDFPageMode

[__int32] Determines which pages to import. Possible values are:

PAGEMODE_ALL

All pages of the PDF document will be imported (up to MKI_PAGE_MAX).

PAGEMODE_SELECTION

The page range definition as stated in m_szPDFPageNumberString will be parsed and used. It allows open and reverse-order ranges.

m_nPDFOptions New in Version 2026.0

[__int32] Bit-wise OR combination of the following flags.

PDFOPTION_RESOLVETEXT

Text will be resolved into surfaces during import.

PDFOPTION_COMBINECHAR

Adjacent separate characters will be combined into a text, if possible.

PDFOPTION_IGNORECLIPPING

Clippings will be ignored.

PDFOPTION_NOBITMAPCLIPPINGMASK

Bitmaps will not be supplied with implicit clipping masks.

PDFOPTION_IGNORELAYERNAMES

All imported data will be assigned to the layer stated in m_szPDFDefaultLayerName.

PDFOPTION_ASSIGNTOMODELSPACE

All imported data will be assigned to Model Space.

PDFOPTION_DONOTSHOWOPTIONSDIALOG

No options dialog will be display during import.

m_szPDFPageNumberString

[MKI_STR256W] Page number range string entered by the user, e.g.: "1, 4-6; 14-9, 20-".

m_szPDFDefaultLayerName

[MKI_PENLAYERNAME] Name of the layer to be assigned to all imported data if PDFOPTION_IGNORELAYERNAMES is set in m_nPDFOptions. If empty, no layer is assigned (layer index 0).

 

MKD Syntax

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

 

DwgDxfImport,PDFPageMode,PDFOptions,PDFPageNumberString,PDFDefaultLayerName

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH