The LineAttributeControl class is a smart pointer that is tied to a database object.
More...
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
static IntPtr | ClassID< T > () |
|
bool | cMemOwn |
|
HandleRef | cptr |
|
HandleRef | scptr |
|
The LineAttributeControl class is a smart pointer that is tied to a database object.
This control allows you to manipulate the weight and pattern of lines and polylines. This table lists default values for the various segment attributes accessible from LineAttributeControl.
HPS.LineAttributeControl.LineAttributeControl |
( |
HPS.SegmentKey |
in_seg | ) |
|
Initializes a control tied to the segment in_seg.
Initializes a control tied to the same object as in_that.
override HPS.Type HPS.LineAttributeControl.ObjectType |
( |
| ) |
|
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
Specifies the pattern of lines.
- Parameters
-
in_pattern | The name of a line pattern, defined in a portfolio that is accessible. |
- Returns
- A reference to this object.
Specifies the pattern of lines.
- Parameters
-
in_pattern | The name of a line pattern, defined in a portfolio that is accessible. |
in_options | A set of options that modify how the named line pattern is applied. |
- Returns
- A reference to this object.
Sets the weight of lines.
- Parameters
-
in_weight | The weight value for lines. |
in_units | The units applied to in_weight. |
- Returns
- A reference to this object.
Sets the weight of lines.
- Parameters
-
in_weight | The weight value for lines. |
- Returns
- A reference to this object.
Shows the pattern used to draw lines.
- Parameters
-
out_pattern | The name of a line pattern, defined in a portfolio that is accessible. |
out_options | A set of options that modify how the named line pattern is applied. |
- Returns
- true if the setting is valid, false otherwise.
bool HPS.LineAttributeControl.ShowWeight |
( |
out float |
out_weight, |
|
|
out HPS.Line.SizeUnits |
out_units |
|
) |
| |
Shows the weight of lines.
- Parameters
-
out_weight | The weight value for lines. |
out_units | The units applied to in_weight. |
- Returns
- true if the setting is valid, false otherwise.
Removes all settings from this object.
- Returns
- A reference to this object.
Removes the line pattern setting for lines.
- Returns
- A reference to this object.
Removes the weight setting for lines.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- HPS.LineAttributeControl.cs