Skip to main content
View as Markdown

ServerDocument class

No description yet.

public class ServerDocument : SupportService, IServerDocument, IServerDocument2

Namespace: DXP · Assembly: Altium.SDK

Implements: IServerDocument, IServerDocument2

Constructors​

public ServerDocument(IServerModule argServerModule, string argKind, string argFileName);

Methods​

MethodReturnsDescription
AcquireDataFileHandlevoid
AcquireFileOwnershipvoid
AddViewvoid
CanCreateSnippetbool
CanPlaceSnippetbool
CreateSnippetFilebool
DocumentDirectoryChangedvoid
DoFileLoadbool
DoFileSavebool
DoSafeChangeFileNameAndSavebool
DoSafeFileSavebool
Focusvoid
GetBeingClosedbool
GetCanClosebool
GetContextHelpTopicNamestring
GetCountint
GetDisplayNamestring
GetDocumentModifiedDatedouble
GetFileModifiedDatedouble
GetFileNamestring
GetIsShownbool
GetKindstring
GetModifiedbool
GetOpenDocumentIdstring
GetSupportsOwnSavebool
Internal_GetServerModuleobject
Internal_GetSnippetViewobject
Internal_GetViewobject
Internal_GetViewByNameobject
NotifyViewsvoid
OwnsFilebool
PlaceSnippetvoid
ReleaseDataFileHandlevoid
ReleaseFileOwnershipvoid
RemoveViewvoid
SetBeingClosedvoid
SetDisplayNamevoid
SetFileModifiedDatevoid
SetFileNamestring
SetIsShownvoid
SetModifiedvoid
SupportsReloadbool
UpdateModifiedDatevoid
WarnIfOwnedByOtherbool
ZoomSnippetContentsvoid

AcquireDataFileHandle​

No description yet.

void AcquireDataFileHandle();

Returns: nothing (void)

AcquireFileOwnership​

No description yet.

void AcquireFileOwnership();

Returns: nothing (void)

AddView​

No description yet.

void AddView(object argView);
ParameterTypePassing
argViewobjectvalue

Returns: nothing (void)

CanCreateSnippet​

No description yet.

bool CanCreateSnippet(object argView, int argMode, bool argContextSensitive);
ParameterTypePassing
argViewobjectvalue
argModeintvalue
argContextSensitiveboolvalue

Returns: bool

CanPlaceSnippet​

No description yet.

bool CanPlaceSnippet(string argSnippetPath);
ParameterTypePassing
argSnippetPathstringvalue

Returns: bool

CreateSnippetFile​

No description yet.

bool CreateSnippetFile(object argView, string argSnippetFilePath, int argMode, bool argContextSensitive);
ParameterTypePassing
argViewobjectvalue
argSnippetFilePathstringvalue
argModeintvalue
argContextSensitiveboolvalue

Returns: bool

DocumentDirectoryChanged​

No description yet.

void DocumentDirectoryChanged();

Returns: nothing (void)

DoFileLoad​

No description yet.

bool DoFileLoad();

Returns: bool

DoFileSave​

No description yet.

bool DoFileSave(string argKind);
ParameterTypePassing
argKindstringvalue

Returns: bool

DoSafeChangeFileNameAndSave​

No description yet.

bool DoSafeChangeFileNameAndSave(string argNewFileName, string argKind);
ParameterTypePassing
argNewFileNamestringvalue
argKindstringvalue

Returns: bool

DoSafeFileSave​

No description yet.

bool DoSafeFileSave(string argKind);
ParameterTypePassing
argKindstringvalue

Returns: bool

Focus​

No description yet.

void Focus();

Returns: nothing (void)

GetBeingClosed​

No description yet.

bool GetBeingClosed();

Returns: bool

GetCanClose​

No description yet.

bool GetCanClose();

Returns: bool

GetContextHelpTopicName​

No description yet.

string GetContextHelpTopicName();

Returns: string

GetCount​

No description yet.

int GetCount();

Returns: int

GetDisplayName​

No description yet.

string GetDisplayName();

Returns: string

GetDocumentModifiedDate​

No description yet.

double GetDocumentModifiedDate();

Returns: double

GetFileModifiedDate​

No description yet.

double GetFileModifiedDate();

Returns: double

GetFileName​

No description yet.

string GetFileName();

Returns: string

GetIsShown​

No description yet.

bool GetIsShown();

Returns: bool

GetKind​

No description yet.

string GetKind();

Returns: string

GetModified​

No description yet.

bool GetModified();

Returns: bool

GetOpenDocumentId​

No description yet.

string GetOpenDocumentId();

Returns: string

GetSupportsOwnSave​

No description yet.

bool GetSupportsOwnSave();

Returns: bool

Internal_GetServerModule​

No description yet.

object Internal_GetServerModule();

Returns: object

Internal_GetSnippetView​

No description yet.

object Internal_GetSnippetView();

Returns: object

Internal_GetView​

No description yet.

object Internal_GetView(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: object

Internal_GetViewByName​

No description yet.

object Internal_GetViewByName(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: object

NotifyViews​

No description yet.

void NotifyViews(object argNotification);
ParameterTypePassing
argNotificationobjectvalue

Returns: nothing (void)

OwnsFile​

No description yet.

bool OwnsFile();

Returns: bool

PlaceSnippet​

No description yet.

void PlaceSnippet(string argSnippetAddress, object argView);
ParameterTypePassing
argSnippetAddressstringvalue
argViewobjectvalue

Returns: nothing (void)

ReleaseDataFileHandle​

No description yet.

void ReleaseDataFileHandle();

Returns: nothing (void)

ReleaseFileOwnership​

No description yet.

void ReleaseFileOwnership();

Returns: nothing (void)

RemoveView​

No description yet.

void RemoveView(object argView);
ParameterTypePassing
argViewobjectvalue

Returns: nothing (void)

SetBeingClosed​

No description yet.

void SetBeingClosed(bool argValue);
ParameterTypePassing
argValueboolvalue

Returns: nothing (void)

SetDisplayName​

No description yet.

void SetDisplayName(string argValue);
ParameterTypePassing
argValuestringvalue

Returns: nothing (void)

SetFileModifiedDate​

No description yet.

void SetFileModifiedDate(double argValue);
ParameterTypePassing
argValuedoublevalue

Returns: nothing (void)

SetFileName​

No description yet.

string SetFileName(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: string

SetIsShown​

No description yet.

void SetIsShown(bool argValue);
ParameterTypePassing
argValueboolvalue

Returns: nothing (void)

SetModified​

No description yet.

void SetModified(bool argValue);
ParameterTypePassing
argValueboolvalue

Returns: nothing (void)

SupportsReload​

No description yet.

bool SupportsReload();

Returns: bool

UpdateModifiedDate​

No description yet.

void UpdateModifiedDate();

Returns: nothing (void)

WarnIfOwnedByOther​

No description yet.

bool WarnIfOwnedByOther(int argWarningLevel);
ParameterTypePassing
argWarningLevelintvalue

Returns: bool

ZoomSnippetContents​

No description yet.

void ZoomSnippetContents();

Returns: nothing (void)