AnalysisDisplayStyle.CreateAnalysisDisplayStyle
Description:
Factory method - creates analysis display style object of type Diagram for the given document.
Factory method - creates analysis display style object of type Diagram for the given document.
Overloads (5):
CreateAnalysisDisplayStyle(Document,String,AnalysisDisplayDiagramSettings,AnalysisDisplayColorSettings,AnalysisDisplayLegendSettings)
public static AnalysisDisplayStyle CreateAnalysisDisplayStyle(
Document document,
string name,
AnalysisDisplayDiagramSettings diagramSettings,
AnalysisDisplayColorSettings colorSettings,
AnalysisDisplayLegendSettings legendSettings
)
-
documentDocument for which analysis display style object is created.
-
StringnameName of the analysis display style within the %document%.
-
diagramSettingsDiagram settings for the style.
-
colorSettingsColor settings for the style.
-
legendSettingsLegend settings for the style.
-
A non-optional argument was null
-
document is a family. -or- name is not unique in document.