public StorableObject[] PlaceFunctionalMacro( Page oPage, PointD pntLocation, string strMacroFileName, WindowMacro.Enums.RepresentationType nRepType, int nVariant )
public: array<StorableObject^>^ PlaceFunctionalMacro( Page^ oPage, PointD pntLocation, String^ strMacroFileName, WindowMacro.Enums.RepresentationType nRepType, int nVariant )
Parameters
| Parameter Name | Description |
|---|---|
| oPage | A page to insert the macro on. |
| pntLocation | Insertion point of the macro. |
| strMacroFileName | A macro file name. This parameter is ignored if a macro is assigned to the function in its article data. |
| nRepType | Representation type that should be taken from the macro. |
| nVariant | A variant that should be taken from the macro. Possible values are 0 through 15 (they map to A through P values in EPLAN P8 GUI). |
Return Value
Returns an array of placements inserted onto the page.