Share

Database.IsValidLineWeight Method

Description

Returns true for lineweights that match one of the predefined lineweights, and false otherwise.

Visual Basic

Public Function IsValidLineWeight(
    weight As Integer
) As bool

C#

public bool IsValidLineWeight(
    int weight
);

Parameters

Parameters Description
int weight Input lineweight in hundredths of a millimeter

Links

Database Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?