LinePatternElement.GetLinePattern
Description:
Gets the LinePattern associated to an element or from a built-in line pattern.
Gets the LinePattern associated to an element or from a built-in line pattern.
Overloads (2):
GetLinePattern(Document,ElementId)
public static LinePattern GetLinePattern(
Document document,
ElementId elementId
)
-
documentThe document in which to retrieve the LinePattern.
-
elementIdThe ElementId of the LinePatternElement or the built-in line pattern id.
Return Value
nullNothingnullptr
A copy of LinePattern object. null Nothing nullptr a null reference ( Nothing in Visual Basic) if the ElementId doesn't represent a line pattern element
or built-in line pattern. null Nothing nullptr a null reference ( Nothing in Visual Basic) for Solid.
-
A non-optional argument was NULL