Class vdMultilineStyle
- Namespace
- VectorDraw.Professional.vdPrimaries
- Assembly
- VectorDraw.Professional.dll
Represents a multiline drawing style that defines the appearance and behavior
of multilines composed of multiple parallel elements (lines) and optional fill/hatch.
It is used by vdMultiline entities to determine how they are rendered in the drawing.
public class vdMultilineStyle : vdPrimary, IDisposable, IVDSerialise, IBaseObject
- Inheritance
-
vdMultilineStyle
- Implements
- Inherited Members
Examples
Typical usage: see vdMultiline for an example of how to create a multiline entity and assign a multiline style to it.
Remarks
A vdMultilineStyle encapsulates the set of vdMultilineStyleElement instances stored in the vdMultilineStyleElements collection (accessible via the Elements property). Each element describes an offset, color, linetype and lineweight for one of the extra lines that compose the multiline. The style also stores drawing parameters such as StartAngle, EndAngle, and Flags which control how the multiline is rendered (for example whether the interior is filled).
Constructors
- vdMultilineStyle()
Initializes the vdMultilineStyle collection object.
- vdMultilineStyle(string)
Initializes the vdMultilineStyle collection object with the specified name.
- vdMultilineStyle(vdDocument)
Initializes a new instance of the vdMultilineStyle object and registers it to the passed Document.
- vdMultilineStyle(vdDocument, string)
Initializes a new instance of the vdMultilineStyle object and registers it to the passed Document.
Properties
- Deleted
Get/Set a property that marks the object as Deleted or not.
- Description
Get/Set a Description string for the object
- Elements
Get/Set the elements collection that define the extra lines of the Multiline Style.
- EndAngle
Get/Set the End Angle for the Multiline elements in radians.
- FillColor
Get/Set the Multiline's fill color of the style.
- Flags
Get/Set the flags that determine the start and end draw of the Multiline.
- HatchProperties
Get/Set the hatch properties of the Multiline style used when Flags is Fill_on.
- Name
Get/Set the name of the vdMultilineStyle object
- StartAngle
Get/Set the Start Angle for the Multiline elements in radians.
- VisibleOnForms
Get/Set a boolean value representing if the vdMultilineStyle will be viewed in Vectordraw forms.
Methods
- DeSerialize(DeSerializer, string, object)
This Function is called foreach field name of the vdMultilineStyle object when opening in vdml format.
- GetCompareHashCode()
Returns a 32-bit signed integer hash code for this object instance.
- GetTableDependecies(vdTableDependeciesArgs)
Fills the passed vdTableDependeciesArgs args with all the table references of this object (vdLayer, vdBlock, vdDimstyle, vdLineType, vdTextstyle, vdImageDef, vdHatchPattern etc).
- MatchProperties(vdPrimary, vdDocument)
Matches all the common properties from an object and sets them to this object.
- Serialize(Serializer)
This Function is called when saving the vdMultilineStyle object to vdml format.
- ToString()
Gets a System.String that represents the name of the vdMultilineStyle Object.