M

LinePatternElement.GetLinePattern

Description:
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
)
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.