Category.SetLinePatternId
Description:
Sets the line pattern id associated with this category for the given graphics style type.
Sets the line pattern id associated with this category for the given graphics style type.
Remarks:
- The line pattern id will be one of the following:
- A negative value (representing a built-in line pattern); this value can only be obtained via GetLinePatternId
- The id of a LinePatternElement
public void SetLinePatternId(
ElementId linePatternId,
GraphicsStyleType graphicsStyleType
)
-
linePatternIdThe line pattern id for the graphics style.
-
graphicsStyleTypeThe type of graphics style.
-
Thrown when the input argument "linePatternId" is an illegal id.
-
Thrown when this category does not have stored line pattern id for this graphics style type.