Eplan Platform API
Eplan.EplApi.HEServices Namespace / Insert Class / WindowMacro Method / WindowMacro(String,RepresentationType,Int32,Page,PointD,MoveKind,NumerationMode,Boolean) Method
Full file name of the WindowMacro file (.ema) to be placed.
Representation Type of Macro. If Value is Default, then the Representation Type will be taken from oPage
Index of the macro variant to be placed (0 based).
Page on which to place the macro.
Position on which to place he macro.
Determines if the macro will be placed with absolute coordinates or relatively to its original position
numeration mode
Determines if groups will be resolved Default value : false

In This Topic
    WindowMacro(String,RepresentationType,Int32,Page,PointD,MoveKind,NumerationMode,Boolean) Method
    In This Topic
    Places a window macro onto a given position of a page. You can set whether absolute coordinates or coordinates relative to its original position on the page should be used.
    Syntax

    Parameters

    Parameter NameDescription
    strEMAFileNameFull file name of the WindowMacro file (.ema) to be placed.
    nRepTypeRepresentation Type of Macro. If Value is Default, then the Representation Type will be taken from oPage
    nVariantIndex of the macro variant to be placed (0 based).
    oPagePage on which to place the macro.
    oPlacementPosition on which to place he macro.
    moveConditionDetermines if the macro will be placed with absolute coordinates or relatively to its original position
    nNumerationModenumeration mode
    bDontResolveGroupsDetermines if groups will be resolved Default value : false

    Return Value

    Inserted placements
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    Thrown if NULL was assigned to a parameter.
    An error occurred during inserting the macro. Please refer to the error message.
    See Also