# Set Graphics

## Description

Get and Set Graphical properties of a PDF+ Element including geometry, Charts, DataSets, Blocks, and Shapes. &#x20;

{% tabs %}
{% tab title="Preview" %}
![](/files/khOwMNYu1KpoGPkTz5XZ)
{% endtab %}

{% tab title="Location" %}
**Name** | Shape Graphics

**Nickname** | Shp Graphics

**Tab** | PDF

**Panel** | Format

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**El** | **Element** (*PDF+ Element*) | A PDF+ Shape, Block, DataSet, Text Fragment Element, or Geometry.

**F** | **Fill Color** *(Colour)* | Optional fill color for the shape.

**S** | **Stroke Color** *(Colour)* | Optional stroke color for the shape.&#x20;

**W** | **Stroke Weight** *(double)* | Optional stroke weight for the shape.&#x20;

**P** | **Pattern** *(double "list")* | A comma-separated pattern. ex (1.5,2,1.0)
{% endtab %}

{% tab title="Ouputs" %}
**El** | **Element** (*PDF+ Element*) | A PDF+ Shape, Block, DataSet, or Text Fragment Element

**F** | **Fill Color** *(Colour)* | Optional fill color for the shape.

**S** | **Stroke Color** *(Colour)* | Optional stroke color for the shape.&#x20;

**W** | **Stroke Weight** *(double)* | Optional stroke weight for the shape.&#x20;

**P** | **Pattern** *(double "list")* | A comma-separated pattern. ex (1.5,2,1.0)
{% endtab %}

{% tab title="Mode" %}
​*​No right-click options*
{% endtab %}
{% endtabs %}

## Usage


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://interopxyz.gitbook.io/pdf-plus/components/format/set-graphics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
