Show / Hide Table of Contents

Class LineWidth

Describes a line width. The "onedimensional" GeoObjects (e.g. Line, Ellipse, BSpline) have a line with as an attribute. The main propertie of the line width are the width and the scaling system (LineWidth.Scaling), which defines how to interpret the width.

Inheritance
System.Object
IShowPropertyImpl
LineWidth
Implements
IShowProperty
IPropertyEntry
INamedAttribute
System.Runtime.Serialization.ISerializable
ICommandHandler
Inherited Members
IShowPropertyImpl.propertyTreeView
IShowPropertyImpl.labelText
IShowPropertyImpl.resourceId
IShowPropertyImpl.flagsToSuppress
IShowPropertyImpl.SuppressFlags(ShowPropertyLabelFlags)
IShowPropertyImpl.Frame
IShowPropertyImpl.IShowProperty.Added(IPropertyTreeView)
IShowPropertyImpl.Added(IPropertyTreeView)
IShowPropertyImpl.Selected()
IShowPropertyImpl.UnSelected()
IShowPropertyImpl.ChildSelected(IShowProperty)
IShowPropertyImpl.Opened(Boolean)
IShowPropertyImpl.Removed(IPropertyTreeView)
IShowPropertyImpl.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
IShowPropertyImpl.SetFocus()
IShowPropertyImpl.Hidden
IShowPropertyImpl.ReadOnly
IShowPropertyImpl.Refresh()
IShowPropertyImpl.OnEnterPressed()
IShowPropertyImpl.OnVisibilityChanged(Boolean)
IShowPropertyImpl.IsSelected
IShowPropertyImpl.Concat(IShowProperty[], IShowProperty[])
IShowPropertyImpl.Update(IShowProperty)
IShowPropertyImpl.SelectedBckgColor
IShowPropertyImpl.SelectedTextColor
IShowPropertyImpl.UnselectedBckgColor
IShowPropertyImpl.UnselectedTextColor
IShowPropertyImpl.IPropertyEntry.IsOpen
IShowPropertyImpl.HasDropDownButton
IShowPropertyImpl.ValueIsEditable
IShowPropertyImpl.Flags
IShowPropertyImpl.Label
IShowPropertyImpl.Value
IShowPropertyImpl.ResourceId
IShowPropertyImpl.SubItems
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
IShowPropertyImpl.GetDropDownList()
IShowPropertyImpl.StartEdit(Boolean)
IShowPropertyImpl.EndEdit(Boolean, Boolean, String)
IShowPropertyImpl.EditTextChanged(String)
IShowPropertyImpl.IPropertyEntry.Index
IShowPropertyImpl.IPropertyEntry.IndentLevel
IShowPropertyImpl.Selected(IPropertyEntry)
IShowPropertyImpl.UnSelected(IPropertyEntry)
IShowPropertyImpl.ListBoxSelected(Int32)
IShowPropertyImpl.DeferUpdate
IShowPropertyImpl.PropertyEntryChangedStateEvent
IShowPropertyImpl.PropertyEntryChangedState(StateChangedArgs)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Attribute
Assembly: CADability.dll
Syntax
[Serializable]
public class LineWidth : IShowPropertyImpl, IShowProperty, IPropertyEntry, INamedAttribute, ISerializable, ICommandHandler

Constructors

| Improve this Doc View Source

LineWidth()

Creates an empty and unnamed LineWidth

Declaration
public LineWidth()
| Improve this Doc View Source

LineWidth(SerializationInfo, StreamingContext)

Constructor required by deserialization

Declaration
protected LineWidth(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

SerializationInfo

System.Runtime.Serialization.StreamingContext context

StreamingContext

| Improve this Doc View Source

LineWidth(String, Double)

Declaration
public LineWidth(string name, double width)
Parameters
Type Name Description
System.String name
System.Double width

Fields

| Improve this Doc View Source

ThinLine

Declaration
public static LineWidth ThinLine
Field Value
Type Description
LineWidth

Properties

| Improve this Doc View Source

ContextMenu

Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
Overrides
IShowPropertyImpl.ContextMenu
| Improve this Doc View Source

EntryType

Overrides EntryType, returns SimpleEntry.

Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Type Description
ShowPropertyEntryType
Overrides
IShowPropertyImpl.EntryType
| Improve this Doc View Source

LabelText

Declaration
public override string LabelText { get; set; }
Property Value
Type Description
System.String
Overrides
IShowPropertyImpl.LabelText
| Improve this Doc View Source

LabelType

Overrides LabelType

Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Type Description
ShowPropertyLabelFlags
Overrides
IShowPropertyImpl.LabelType
| Improve this Doc View Source

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Parent

Declaration
public IAttributeList Parent { get; set; }
Property Value
Type Description
IAttributeList
| Improve this Doc View Source

Scale

Gets or sets the LineWidth.Scaling of this LineWidth.

Declaration
public LineWidth.Scaling Scale { get; set; }
Property Value
Type Description
LineWidth.Scaling
| Improve this Doc View Source

SubEntries

Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Type Description
IShowProperty[]
Overrides
IShowPropertyImpl.SubEntries
| Improve this Doc View Source

SubEntriesCount

Overrides SubEntriesCount, returns the number of subentries in this property view.

Declaration
public override int SubEntriesCount { get; }
Property Value
Type Description
System.Int32
Overrides
IShowPropertyImpl.SubEntriesCount
| Improve this Doc View Source

Width

Gets or sets the line width of this object.

Declaration
public double Width { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Added(IPropertyPage)

Declaration
public override void Added(IPropertyPage pp)
Parameters
Type Name Description
IPropertyPage pp
Overrides
IShowPropertyImpl.Added(IPropertyPage)
| Improve this Doc View Source

Clone()

Returns a clone of this LineWidth

Declaration
public LineWidth Clone()
Returns
Type Description
LineWidth
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

System.Runtime.Serialization.StreamingContext context

The destination (System.Runtime.Serialization.StreamingContext) for this serialization.

| Improve this Doc View Source

LabelChanged(String)

Overrides LabelChanged(String)

Declaration
public override void LabelChanged(string NewText)
Parameters
Type Name Description
System.String NewText
Overrides
IShowPropertyImpl.LabelChanged(String)
| Improve this Doc View Source

Read(String, SerializationInfo, StreamingContext)

Declaration
public static LineWidth Read(string name, SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.String name
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context
Returns
Type Description
LineWidth
| Improve this Doc View Source

Removed(IPropertyPage)

Declaration
public override void Removed(IPropertyPage pp)
Parameters
Type Name Description
IPropertyPage pp
Overrides
IShowPropertyImpl.Removed(IPropertyPage)

Explicit Interface Implementations

| Improve this Doc View Source

INamedAttribute.GetSelectionProperty(String, Project, GeoObjectList)

Declaration
IShowProperty INamedAttribute.GetSelectionProperty(string key, Project project, GeoObjectList geoObjectList)
Parameters
Type Name Description
System.String key
Project project
GeoObjectList geoObjectList
Returns
Type Description
IShowProperty
| Improve this Doc View Source

ICommandHandler.OnCommand(String)

Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
Type Name Description
System.String MenuId
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ICommandHandler.OnSelected(MenuWithHandler, Boolean)

Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
Type Name Description
MenuWithHandler selectedMenuItem
System.Boolean selected
| Improve this Doc View Source

ICommandHandler.OnUpdateCommand(String, CommandState)

Declaration
bool ICommandHandler.OnUpdateCommand(string MenuId, CommandState CommandState)
Parameters
Type Name Description
System.String MenuId
CommandState CommandState
Returns
Type Description
System.Boolean

Implements

IShowProperty
IPropertyEntry
INamedAttribute
System.Runtime.Serialization.ISerializable
ICommandHandler
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX