SymbolMacro(SymbolMacro,RepresentationType,Int32,Page,PointD,MoveKind,NumerationMode) Method
In This Topic
Places a symbol 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
- SymbolMacro object to be placed.
- nRepType
- Representation Type of Macro. If Value is Default, then the Representation Type will be taken from oPage
- 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
- Should the will the macro be placed with absolute coordinates or relatively to its original position?
- nNumerationMode
- numeration mode
Return Value
Inserted placements
Exceptions
Exception | Description |
ArgumentException | Thrown in case of
invalid parameters.. |
ArgumentNullException | Null was set to a
parameter. |
BaseException | An error occurred
during inserting the
macro. Please refer
to the error
message. |
See Also