Table of Contents

Property ScaleHeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ScaleHeight

Gets the height of the frame in percent of its height at 100 percent, which AutoCAD keeps in the extended data (code 42 between OLEBEGIN and OLEEND), as ScaleWidth gives the width's: 100 where the record keeps none; 0 for a frame of no height.

public double ScaleHeight { get; set; }

Property Value

double

Set, the frame is made that share of the kept height with its upper left corner kept, and the same share of the kept width where LockAspect is true.

Exceptions

ArgumentOutOfRangeException

Thrown when the percentage is not a finite number above nought.

InvalidOperationException

Thrown when the frame is erased, has no height to size, or its binary holds no head to write the corners into.