Interface IViewpoint
Представление.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IViewpoint : IDeleteableApiObject, IPropertyOwner, IPropertyValueOwner, IBaseGroupMember, ILocateableApiObject, ISerialNumberOwner, IAbleToHaveUniqueId, IAbleToHaveId, IAbleToHaveChangeableName, IAbleToHaveDescription, IAbleToBeFavorite, IAbleToHaveElementFactoryLocation, IAbleToBeRecent, IAbleToHaveName, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
Elements
Возвращает элементы, ссылающиеся на это представление.
Declaration
IApiReadOnlyCollection<IElement> Elements { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IElement> |
OwnerGroup
Возвращает или задает группу-владельца представления.
Declaration
IViewpointGroup OwnerGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| IViewpointGroup |
Methods
CopyTo(IViewpointGroup, string, ClassificationItemCopyingOptions)
Копирует объект в указанную группу.
Declaration
IViewpoint CopyTo(IViewpointGroup destinationGroup, string nameOfTheCopy, ClassificationItemCopyingOptions options = ClassificationItemCopyingOptions.None)
Parameters
| Type | Name | Description |
|---|---|---|
| IViewpointGroup | destinationGroup | Целевая группа. |
| string | nameOfTheCopy | Имя копии. |
| ClassificationItemCopyingOptions | options | Опции копирования. |
Returns
| Type | Description |
|---|---|
| IViewpoint | Копия объекта. |
GetPreviewPath(IDictionary<IContractPropertySource, IPropertyValueData>)
Возвращает путь к файлу вторичного представления.
Declaration
string GetPreviewPath(IDictionary<IContractPropertySource, IPropertyValueData> customParameterValues = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionary<IContractPropertySource, IPropertyValueData> | customParameterValues | Дополнительные параметры представления (свободные значения). |
Returns
| Type | Description |
|---|---|
| string | Путь к файлу вторичного представления (или null). |
GetSpecificFormatPath(ViewpointFileFormat, IDictionary<IContractPropertySource, IPropertyValueData>)
Возвращает путь к файлу представления в заданном формате.
Declaration
string GetSpecificFormatPath(ViewpointFileFormat fileFormat, IDictionary<IContractPropertySource, IPropertyValueData> customParameterValues = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewpointFileFormat | fileFormat | Формат файла |
| IDictionary<IContractPropertySource, IPropertyValueData> | customParameterValues | Дополнительные параметры представления (свободные значения). |
Returns
| Type | Description |
|---|---|
| string | Путь к файлу представления в заданном формате (или null). |
LinkElement(IElement)
Привязывает элемент к представлению.
Declaration
void LinkElement(IElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| IElement | element | Элемент. |
LinkElements(IEnumerable<IElement>)
Привязывает элементы к представлению.
Declaration
void LinkElements(IEnumerable<IElement> elements)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IElement> | elements | Элементы. |
UnlinkElement(IElement)
Отвязывает элемент от представления.
Declaration
void UnlinkElement(IElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| IElement | element | Элементы. |
UnlinkElements(IEnumerable<IElement>)
Отвязывает элементы от представления.
Declaration
void UnlinkElements(IEnumerable<IElement> elements)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IElement> | elements | Элементы. |