Eplan Platform API
Eplan.EplApi.HEServices Namespace / Insert Class / WindowMacro Method / WindowMacro(WindowMacro,RepresentationType,Int32,Page,PointD,MoveKind,NumerationMode) Method
WindowMacro object to be placed.
RepresentationType of Macro
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

In This Topic
    WindowMacro(WindowMacro,RepresentationType,Int32,Page,PointD,MoveKind,NumerationMode) 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

    oMacro
    WindowMacro object to be placed.
    nRepType
    RepresentationType of Macro
    nVariant
    Index of the macro variant to be placed (0 based).
    oPage
    Page on which to place the macro.
    oPlacement
    Position on which to place he macro.
    moveCondition
    Determines if the macro will be placed with absolute coordinates or relatively to its original position
    nNumerationMode
    numeration mode

    Return Value

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