Method GetPictureData
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetPictureData(out DxfOlePictureFormat)
Gives the picture of a static object as the bytes of its file, the library's own: of a bitmap pasted, the .bmp its
CONTENTS stream holds, as Windows wrote it; of a metafile, a placeable .wmf; of an enhanced metafile, the .emf.
The picture of 3 by 2 pixels of 24 bits gives a .bmp of 78 bytes, of 96 dots an inch where it was so made. None for an
object embedded or linked, which AutoCAD shows through its application, and for a compound file damaged, which is said
in the log at Debug.
public byte[] GetPictureData(out DxfOlePictureFormat format)
Parameters
formatDxfOlePictureFormatThe kind of file given; None where none is.
Returns
- byte[]
The bytes, a new array on each call; null where there is no picture.