AnalysisDisplayStyle.CreateAnalysisDisplayStyle(Document, String, AnalysisDisplayVectorSettings, AnalysisDisplayColorSettings, AnalysisDisplayLegendSettings)
Method
Description:
Factory method - creates analysis display style object of type Vectors for the given document.
Factory method - creates analysis display style object of type Vectors for the given document.
Syntax
public static AnalysisDisplayStyle CreateAnalysisDisplayStyle(
Document document,
string name,
AnalysisDisplayVectorSettings vectorSettings,
AnalysisDisplayColorSettings colorSettings,
AnalysisDisplayLegendSettings legendSettings
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | Document for which analysis display style object is created. |
name | String | Name of the analysis display style within the %document%. |
vectorSettings | AnalysisDisplayVectorSettings | Vector settings for the style. |
colorSettings | AnalysisDisplayColorSettings | Color settings for the style. |
legendSettings | AnalysisDisplayLegendSettings | Legend settings for the style. |
Return Value
Type | Description |
---|---|
AnalysisDisplayStyle | New analysis display style object. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentsInconsistentException | document is a family. -or- name is not unique in document. |