Table of Contents

Class vdLinetypeCombo

Namespace
vdLinetypeComboBox
Assembly
VectorDraw.Professional.dll

A Linetypes control to give easy access to the linetypes.

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

Remarks

vdLinetypeCombo is a combobox like control to give you easy access to the linetypes. If none entity is selected then the activelinetype is shown and you can easily select the activelinetype. If entities are selected to the Document then the linetype of the entities is shown where you can easily change it.

Constructors

vdLinetypeCombo()

The constructor of the Control always necessary.

Properties

ApplicationsMainForm

Get/Set the Main Form where the LinetypeControl 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.

LinetypeFont

Get/Set the font used to display the name of the linetype

LinetypesDocument

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

MaxNumberOfLinetypesShown

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

MinimumSize

The minimum size of this control is 180,21

SelectedLinetypeColor

The color of the Selected Linetype.

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.

UserLinetype

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

Methods

Dispose(bool)

Clean up any resources being used.

SetLinetypeFont(string, float, int)

A method to set the linetype font.

Events

LinetypeSelected

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