Section =PREVIEW= (File Sections) Changed in Version 2017.1 |
www.CAD6.com |
MKD SyntaxThe section =PREVIEW= contains a preview bitmap of the drawing. The default size is MKI_DRAWING_PREVIEW_SIZE by MKI_DRAWING_PREVIEW_SIZE pixels, 24 bits PNG, JPEG or BMP file. We recommend using antialiased PNG files.
=PREVIEW=; PreviewSize; PreviewDataSize[0],PreviewData[0]; ... PreviewDataSize[n],PreviewData[n]; =END=;
Element DescriptionPreviewSize [__int32] Size of the preview bitmap in bytes. PreviewDataSize[x] [__int32] Number of bytes in the following binary data string. Valid range is 1 to MKI_BYTES_PER_BINARY inclusive. PreviewData[x] [BINARY] Binary string containing the bitmap data. The string may contain up to BitmapDataSize[x] bytes of data. If it contains less data, the resulting bytes are to be set to zero.
If the section =PREVIEW= does not exist, the drawing does not contain a preview.
If existing, this section must be located at the beginning of the drawing file directly behind the =DRAWING= section, or it will not be found!
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH