Table of Contents

Property VirtualPen

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

VirtualPen

Gets or sets the number of the virtual pen, 1 to 255; 0 for automatic. A PDF or an image has no pens, so the number is kept and not used.

public int VirtualPen { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the value is not 0 to 255.