Table of Contents

Method ImageSize

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ImageSize(bool)

Gets the size of the image in pixels, as AutoCAD's ImageSize: the size its record keeps (13, 23), or, not cached, the size its IMAGEDEF gives (10, 20), the record's where it has none. The library reads no image file: what AutoCAD reads of the file when it loads it is the size its IMAGEDEF was given.

public GeoVector2 ImageSize(bool getCachedValue)

Parameters

getCachedValue bool

Whether the size the record keeps is given rather than its IMAGEDEF's.

Returns

GeoVector2

The pixels across and up: (4, 3) for a picture of 4 by 3.