## Setting Object Properties

linkTextFrames(...)
  `linkTextFrames("fromname", "toname")`

  Link two text frames. The frame named "fromname" is linked to the frame named "toname". The target frame must be an empty text frame and must not link to or be linked from any other frames already.

  May throw ScribusException if linking rules are violated.

loadImage(...)
  `loadImage("filename" [, "name"])`

  Loads the picture "picture" into the image frame "name". If "name" is not given the currently selected item is used.

  May raise WrongFrameTypeError if the target frame is not an image frame

scaleImage(...)
  `scaleImage(x, y [, "name"])`

  Sets the scaling factors of the picture in the image frame "name". If "name" is not given the currently selected item is used. A number of 1 means 100 %.

  May raise WrongFrameTypeError if the target frame is not an image frame

setCornerRadius(...)
  `setCornerRadius(radius, ["name"])`

  Sets the corner radius of the object "name". The radius is expressed in points. If "name" is not given the currently selected item is used.

  May raise ValueError if the corner radius is negative.

setFillColor(...)
  `setFillColor("color", ["name"])`

  Sets the fill color of the object "name" to the color "color". "color" is the name of one of the defined colors. If "name" is not given the currently selected item is used.

setFillShade(...)
  `setFillShade(shade, ["name"])`

  Sets the shading of the fill color of the object "name" to "shade". "shade" must be an integer value in the range from 0 (lightest) to 100 (full Color intensity). If "name" is not given the currently selected Item is used.

  May raise ValueError if the fill shade is out of bounds.

setGradientFill(...)
  `setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])`

  Sets the gradient fill of the object "name" to type. Color descriptions are the same as for setFillColor() and setFillShade(). See the constants for available types (FILL_<type>).

setLineCap(...)
  `setLineCap(captype, ["name"])`

  Sets the line cap style of the object "name" to the style "cap". If "name" is not given the currently selected item is used. There are predefined constants for "cap" - CAP_<type>.

setLineColor(...)
  `setLineColor("color", ["name"])`

  Sets the line color of the object "name" to the color "color". If "name" is not given the currently selected item is used.

setMultiLine(...)
  `setMultiLine("namedStyle", ["name"])`

  Sets the line style of the object "name" to the named style "namedStyle". If "name" is not given the currently selected item is used.

  May raise NotFoundError if the line style doesn't exist.

setLineJoin(...)
  `setLineJoin(join, ["name"])`

  Sets the line join style of the object "name" to the style "join". If "name" is not given the currently selected item is used. There are predefined constants for join - JOIN_<type>.

setLineShade(...)
  `setLineShade(shade, ["name"])`

  Sets the shading of the line color of the object "name" to "shade". "shade" must be an integer value in the range from 0 (lightest) to 100 (full color intensity). If "name" is not given the currently selected item is used.

  May raise ValueError if the line shade is out of bounds.

setLineStyle(...)
  `setLineStyle(style, ["name"])`

  Sets the line style of the object "name" to the style "style". If "name" is not given the currently selected item is used. There are predefined constants for "style" - LINE_<style>.

setLineWidth(...)
  `setLineWidth(width, ["name"])`

  Sets line width of the object "name" to "width". "width" must be in the range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not given the currently selected item is used.

  May raise ValueError if the line width is out of bounds.

traceText(...)
  `traceText(["name"])`

  Convert the text frame "name" to outlines. If "name" is not given the currently selected item is used.

unlinkTextFrames(...)
  `unlinkTextFrames("name")`

  Remove the specified (named) object from the text frame flow/linkage. If the frame was in the middle of a chain, the previous and next frames will be connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)'

  May throw ScribusException if linking rules are violated.