Table of Contents

Class vdLineWeightCombo

Namespace
vdLineWeightComboBox
Assembly
VectorDraw.Professional.dll

A LineWeight control to give easy access to the lineweights.

public class vdLineWeightCombo : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
vdLineWeightCombo
Implements
Inherited Members

Remarks

vdLineWeightComboBox is a combobox like control to give you easy access to the lineweights.

Constructors

vdLineWeightCombo()

The constructor of the Control always necessary.

Properties

ApplicationsMainForm

Get/Set the Main Form where the LineWeightCombo is added. This is used only to choose either to open the list upward or downward depending the position and the height of the main application.This property can only be used in .NET applications.

BackgroundColor

The background color of the combobox.

LineWeightDocument

Get/Set the Document that the Control should interact with.

LineWeightFont

Get/Set the font used to display the string of the lineweight

MaxNumberOfLineWeightsShown

Get/Set the Maximum number of lineweights to be shown at the Drop Down List.

MinimumSize

The minimum size of this control is 180,21

SelectedLineWeightColor

The color of the Selected lineweight.

ShowIconImage

Get/Set a value representing if the icon in front of the combo box is shown.

TextColor

The color of every text in the combobox.

UserLineWeight

Use this property to pass a LineWeight object to be modified without interfering with the Document.

Methods

Dispose(bool)

Clean up any resources being used.

SetLineWeightFont(string, float, int)

A method to set the LineWeight font.

Events

LineWeightSelected

Raises when a LineWeight is selected and the listbox is hidden. This event can be used to handle the focus on the form that is used.