Skip to main content

ICommentService interface

No description yet.

public interface ICommentService

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
AddCommentThreadvoid
CloseActiveCommentThreadPopupvoid
CommentingAvailablebool
CommentsFeatureAvailablebool
CreateCommentThreadGraphicalICommentThreadGraphical
CreateRequirementsTaskvoid
GetCanPlaceCommentbool
GetCommentThreadICommentThread
GetCommentThreadsCountint
GetDocumentCommentThreadsICommentThreadList
GetDocumentCommentThreadsExICommentThreadList
GetDrawingItemCarrierICommentDrawingItemCarrier
GetPlacedRequirementThreadsICommentThreadList
GetShowCommentsOnDocumentbool
OnBeginDrawingItemPlaceProcessvoid
OnEndDrawingItemPlaceProcessvoid
PreviewPlaceCommentbool
SearchUsersIUserProfileList
SetActivePopupPositionvoid
ShowCommentsOnDocumentTemporaryvoid
ShowCommentThreadvoid
ShowCommentThreadPopupvoid
ShowCommentThreadPopupExvoid
StartPlaceCommentvoid
UpdateCommentThreadvoid

AddCommentThread​

No description yet.

void AddCommentThread(ICommentThread argCommentThread, uint argBitmap);
void AddCommentThread(object argCommentThread, uint argBitmap);
ParameterTypePassing
argCommentThreadICommentThreadvalue
argBitmapuintvalue

Returns: nothing (void)

The first overload is an extension method of ICommentServiceHelper (using EDP;) with typed parameters; the second is declared by the interface.

CloseActiveCommentThreadPopup​

No description yet.

void CloseActiveCommentThreadPopup();

Returns: nothing (void)

CommentingAvailable​

No description yet.

bool CommentingAvailable(IDXPProject argProject, string argDocumentUniqueId, string argDocumentName, out string argMessage);
bool CommentingAvailable(object argProject, string argDocumentUniqueId, string argDocumentName, out string argMessage);
ParameterTypePassing
argProjectIDXPProjectvalue
argDocumentUniqueIdstringvalue
argDocumentNamestringvalue
argMessagestringout

Returns: bool

The first overload is an extension method of ICommentServiceHelper (using EDP;) with typed parameters; the second is declared by the interface.

CommentsFeatureAvailable​

No description yet.

bool CommentsFeatureAvailable(string argDocumentKind, out string argFeatureState);
ParameterTypePassing
argDocumentKindstringvalue
argFeatureStatestringout

Returns: bool

CreateCommentThreadGraphical​

No description yet.

ICommentThreadGraphical CreateCommentThreadGraphical();

Returns: ICommentThreadGraphical

Extension method of ICommentServiceHelper (using EDP;).

CreateRequirementsTask​

No description yet.

void CreateRequirementsTask(string argAssigneeId, string argCommentText);
ParameterTypePassing
argAssigneeIdstringvalue
argCommentTextstringvalue

Returns: nothing (void)

GetCanPlaceComment​

No description yet.

bool GetCanPlaceComment(string argParameters);
ParameterTypePassing
argParametersstringvalue

Returns: bool

GetCommentThread​

No description yet.

ICommentThread GetCommentThread(string argManagedProjectGUID, string argThreadId);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argThreadIdstringvalue

Returns: ICommentThread

Extension method of ICommentServiceHelper (using EDP;).

GetCommentThreadsCount​

No description yet.

int GetCommentThreadsCount(string argManagedProjectGUID, bool argIncludeNew);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argIncludeNewboolvalue

Returns: int

GetDocumentCommentThreads​

No description yet.

ICommentThreadList GetDocumentCommentThreads(string argManagedProjectGUID, string argDocumentUniqueId);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argDocumentUniqueIdstringvalue

Returns: ICommentThreadList

Extension method of ICommentServiceHelper (using EDP;).

GetDocumentCommentThreadsEx​

No description yet.

ICommentThreadList GetDocumentCommentThreadsEx(string argManagedProjectGUID, string argDocumentUniqueId, string argDocumentName);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argDocumentUniqueIdstringvalue
argDocumentNamestringvalue

Returns: ICommentThreadList

Extension method of ICommentServiceHelper (using EDP;).

GetDrawingItemCarrier​

No description yet.

ICommentDrawingItemCarrier GetDrawingItemCarrier(string argDocumentKind, TDrawingItemType argItemType);
ParameterTypePassing
argDocumentKindstringvalue
argItemTypeTDrawingItemTypevalue

Returns: ICommentDrawingItemCarrier

Extension method of ICommentServiceHelper (using EDP;).

GetPlacedRequirementThreads​

No description yet.

ICommentThreadList GetPlacedRequirementThreads(string argManagedProjectGUID, string argRequirementItemId);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argRequirementItemIdstringvalue

Returns: ICommentThreadList

Extension method of ICommentServiceHelper (using EDP;).

GetShowCommentsOnDocument​

No description yet.

bool GetShowCommentsOnDocument(string argManagedProjectGUID);
ParameterTypePassing
argManagedProjectGUIDstringvalue

Returns: bool

OnBeginDrawingItemPlaceProcess​

No description yet.

void OnBeginDrawingItemPlaceProcess(string argCommentThreadId);
ParameterTypePassing
argCommentThreadIdstringvalue

Returns: nothing (void)

OnEndDrawingItemPlaceProcess​

No description yet.

void OnEndDrawingItemPlaceProcess(string argCommentThreadId);
ParameterTypePassing
argCommentThreadIdstringvalue

Returns: nothing (void)

PreviewPlaceComment​

No description yet.

bool PreviewPlaceComment();

Returns: bool

SearchUsers​

No description yet.

IUserProfileList SearchUsers(string argSearchQuery);
ParameterTypePassing
argSearchQuerystringvalue

Returns: IUserProfileList

Extension method of ICommentServiceHelper (using EDP;).

SetActivePopupPosition​

No description yet.

void SetActivePopupPosition(int argX, int argY);
ParameterTypePassing
argXintvalue
argYintvalue

Returns: nothing (void)

ShowCommentsOnDocumentTemporary​

No description yet.

void ShowCommentsOnDocumentTemporary(string argManagedProjectGUID, string argDocumentUniqueId, string argDocumentName);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argDocumentUniqueIdstringvalue
argDocumentNamestringvalue

Returns: nothing (void)

ShowCommentThread​

No description yet.

void ShowCommentThread(string argManagedProjectGUID, string argThreadId);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argThreadIdstringvalue

Returns: nothing (void)

ShowCommentThreadPopup​

No description yet.

void ShowCommentThreadPopup(string argManagedProjectGUID, string argThreadId, int argX, int argY);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argThreadIdstringvalue
argXintvalue
argYintvalue

Returns: nothing (void)

ShowCommentThreadPopupEx​

No description yet.

void ShowCommentThreadPopupEx(string argManagedProjectGUID, string argThreadId, int argX, int argY, TPopupHorizontalAlignment argHorizontalAlignment, string argHeaderText, string argHeaderTooltip);
void ShowCommentThreadPopupEx(string argManagedProjectGUID, string argThreadId, int argX, int argY, int argHorizontalAlignment, string argHeaderText, string argHeaderTooltip);
ParameterTypePassing
argManagedProjectGUIDstringvalue
argThreadIdstringvalue
argXintvalue
argYintvalue
argHorizontalAlignmentTPopupHorizontalAlignmentvalue
argHeaderTextstringvalue
argHeaderTooltipstringvalue

Returns: nothing (void)

The first overload is an extension method of ICommentServiceHelper (using EDP;) with typed parameters; the second is declared by the interface.

StartPlaceComment​

No description yet.

void StartPlaceComment(string argParameters);
ParameterTypePassing
argParametersstringvalue

Returns: nothing (void)

UpdateCommentThread​

No description yet.

void UpdateCommentThread(ICommentThread argCommentThread);
void UpdateCommentThread(object argCommentThread);
ParameterTypePassing
argCommentThreadICommentThreadvalue

Returns: nothing (void)

The first overload is an extension method of ICommentServiceHelper (using EDP;) with typed parameters; the second is declared by the interface.

Returned by​

ICommentServerModule.GetCommentService