Table of Contents

Property ActiveThickness

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

ActiveThickness

Get/Set the active thickness of the document in Drawing Units. all vdCurve objects assign this thickness as default when the setDocumentDefaults() method is called.

public double ActiveThickness { get; set; }

Property Value

double

Examples

Changes the ActiveThickness and create a new vdLine that get this property.

//change the ActiveThickness of document to be 2 Drawing Units .
doc.ActiveThickness = 2.0d;
//create a new vdLine entity
vdLine line = new vdLine();
//select the document that the text is reference to.
line.SetUnRegisterDocument(doc);
//select the default active properties of the document object for the entity
line.setDocumentDefaults();
Console.WriteLine(line.Thickness);//the output will be : 2.0

Remarks

Default value: 0.0

Raizes the OnBeforeModifyObject event and the OnAfterModifyObject event.