Table of Contents

Class LineWidthSwap

Namespace
Hi.Disp.Treat
Assembly
HiDisp.dll

A utility class for temporarily changing the line width and restoring it when disposed.

public class LineWidthSwap : IDisposable
Inheritance
LineWidthSwap
Implements
Inherited Members
Extension Methods

Constructors

LineWidthSwap(double)

Initializes a new instance of the LineWidthSwap class.

public LineWidthSwap(double lineWidth)

Parameters

lineWidth double

The new line width to set.

Properties

PreLineWidth

Gets the previous line width value that will be restored on disposal.

public float PreLineWidth { get; }

Property Value

float

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool