PDF kit command

comment.hide

Hide all comments

Hide or show every comment on the page (fields and links still draw). A view setting: the file doesn't change.

Kit
PDF 0.1.0 (.pdf)
Changes the document
yes

Parameters

Parameters of comment.hide
NameTypeRequiredDescription
hiddenbooleannoDefault true.

Call through pdf_run

text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "comment.hide" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: hidden. pdf_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": {
    "hidden": {
      "description": "Default true.",
      "type": "boolean"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (pdf_commands through @kition/[email protected], built from KitionAI/kition-pdf@b0d2725). As data: commands.jsonl.