Search Results for

    Show / Hide Table of Contents

    Interface IApplication

    Gives access to the application.

    Namespace: TopSolid.Kernel.Automating
    Assembly: TopSolid.Kernel.Automating.dll
    Syntax
    [ServiceContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    public interface IApplication
    Remarks

    This interface is available since v7.6.

    Properties

    Name Description
    ActiveCommandFullName

    Gets the full name of the active command (i.e. "TopSolid.Kernel.UI.D3.Shapes.Creations.BlockCommand").

    ActiveCommandName

    Gets the localized name of the active command, as it appears to the user in the menu.

    CurrentPaperFormat

    Gets or sets the name of the current paper format.

    CurrentPaperSource

    Gets or sets the name of the current paper source.

    CurrentPrinterName

    Gets or sets the name of the current printer.

    CurrentUICultureName

    Gets the name of the current UI culture of the application.

    ExporterCount

    Gets the number of available document exporters.

    ImporterCount

    Gets the number of available document importers.

    IsWindowMaximized

    Tells whether the application window is maximized.

    IsWindowMinimized

    Tells whether the application window is minimized.

    PaperFormats

    Gets the names of the available paper formats for the current printer.

    PaperSources

    Gets the names of the available paper sources for the current printer.

    PrinterNames

    Gets the names of the available printers.

    ProcessId

    Gets the identifier of application process.

    Version

    Gets the version of the application.

    Methods

    Name Description
    BringToFrontWindow()

    Brings the application window to the front.

    EndJournaling()

    Ends journaling.

    EndModification(bool, bool)

    Ends performing modifications.

    GetCurrentPrinterConfiguration(out Real, out Real, out Real, out Real, out Real, out Real, out Real, out Real, out Real, out Real, out Real)

    Gets the current printer configuration.

    GetExporterFileType(int, out string, out string[])

    Gets the type of files managed by an exporter.

    GetExporterOptions(int)

    Gets the options of an exporter.

    GetImporterFileType(int, out string, out string[])

    Gets the type of files managed by an importer.

    GetImporterOptions(int)

    Gets the options of an importer.

    GetMachineIds(out string, out string)

    Gets the machine identifiers that may be used for fixed licenses.

    InvokeCommand(string)

    Invokes a specified menu command.

    IsExporterValid(int)

    Tells whether a valid license is available for an exporter.

    IsImporterValid(int)

    Tells whether a valid license is available for an importer.

    IsLicenseValid(int)

    Tells whether a valid TopSolid license is available.

    IsProviderLicenseValid(string, string, int, int, int)

    Tells whether a valid license is available from a specified provider.

    MaximizeWindow()

    Maximizes the application window.

    MinimizeWindow()

    Minimizes the application window.

    Quit(bool, bool)

    Terminates the applicaton.

    RestoreWindow()

    Restores the application window that has been minimized or maximized.

    SearchEnumerationLocalizedText(EnumerationProperty)

    Searches for the localized text corresponding to a specified enumeration property.

    SetCurrentPrinterConfiguration(Real?, Real?, Real?, Real?, Real?, Real?, Real?, Real?, Real?, Real?, Real?)

    Sets the current printer configuration.

    SetJournalingMethodCall(bool, bool, bool)

    Sets the format of the journaling of method calls.

    SetSilentMode(bool)

    Sets the silent mode.

    StartJournaling(string)

    Starts journaling.

    StartModification(string, bool)

    Starts performing modifications.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.