Next: 3.3.2 Selecting Objects Up: 3.3 Object related Commands Previous: 3.3 Object related Commands Index

## 3.3.1 Creating and Destroying Objects

CreateBezierLine(list, [''name''])
  Creates a new Bezier Curve and returns its Name. The Points for the Bezier Curve are stored in the List ``list'' in the following Order: x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn. Where x and y mean the x and y Coordinates of the Point and kx and ky meaning the Controlpoint for the Curve. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreateEllipse(x, y, width, height, [''name''])
  Creates a new Ellipse on the actual Page and returns its Name. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreateImage(x, y, width, height, [''name''])
  Creates a new Picture on the actual Page and returns its Name. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreateLine(x1, y1, x2, y2, [''name''])
  Creates a new Line from the Point(x1, y1) to the Point(x2, y2) and returns its Name. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreatePathText(x, y, ``textbox'', ''beziercurve'', [''name''])
  Creates a nex PathText by merging the 2 Objects ``textbox'' and ``beziercurve'' and returns its Name. The Coordinates are given in the actual measurement Unit of the Document ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreatePolygon(list, [''name''])
  Creates a new Polygon and returns its Name. The Points for the Polygon are stored in the List ``list'' in the following Order: x1, y1, x2, y2...xn. yn. At least three Points are required. There is no need to repeat the first Point to close the Polygon. The Polygon is automatically closed by connecting the first and the last Point. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreatePolyLine(list, [''name''])
  Creates a new Polyline and returns its Name. The Points for the Polyline are stored in the List ``list'' in the following Order: x1, y1, x2, y2...xn. yn. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreateRect(x, y, width, height, [''name''])
  Creates a new Rectangle on the actual Page and returns its Name. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
CreateText(x, y, width, height, [''name''])
  Creates a new Rectangle on the actual Page and returns its Name. The Coordinates are given in the actual measurement Unit of the Document. ``name'' should be a unique Identifier for the Object because you need this Name for further referencing of that Object. If ``name is not given Scribus will create one for you.
DeleteObject([``name''])
  Deletes the Item with the Name ``name''. If ``name'' is not given the currently selected Item is deleted.

Next: 3.3.2 Selecting Objects Up: 3.3 Object related Commands Previous: 3.3 Object related Commands Index