---
title: "linkedFile.placementOptions: Placement Options — Vector kit command — Kition"
description: "Sets how linked art fits its bounds when the file is updated or relinked: preserve transforms, bounds, file size, fit or fill, with alignment."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/linkedFile.placementOptions"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/linkedFile.placementOptions](https://developer.kition.ai/docs/kits/vector/commands/linkedFile.placementOptions)

# linkedFile.placementOptions

**Placement Options.** Sets how linked art fits its bounds when the file is updated or relinked: preserve transforms, bounds, file size, fit or fill, with alignment.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes
- Acts on: `ids` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `align` | `"topLeft" \| "top" \| "topRight" \| "left" \| "center" \| "right" \| "bottomLeft" \| "bottom" \| "bottomRight"` | no | default; where the new art sits; not for bounds |
| `clip` | `boolean` | no | clip it to the old bounds where it is larger |
| `ids` | `integer[]` | no | object IDs |
| `preserve` | `"transforms" \| "bounds" \| "fileDimensions" \| "fit" \| "fill"` | no | default |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "linkedFile.placementOptions" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `align`, `clip`, `ids`, `preserve`. vector_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "align": {
      "description": "default; where the new art sits; not for bounds",
      "enum": [
        "topLeft",
        "top",
        "topRight",
        "left",
        "center",
        "right",
        "bottomLeft",
        "bottom",
        "bottomRight"
      ],
      "type": "string"
    },
    "clip": {
      "default": false,
      "description": "clip it to the old bounds where it is larger",
      "type": "boolean"
    },
    "ids": {
      "description": "object IDs",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Node"
      ]
    },
    "preserve": {
      "description": "default",
      "enum": [
        "transforms",
        "bounds",
        "fileDimensions",
        "fit",
        "fill"
      ],
      "type": "string"
    }
  },
  "returns": "{placement} of the first image; else one undo step → {ids, placement}",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
