> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/fr/apps/components/surfaces/paper.md).

# Papier

**Dans Material Design, les propriétés physiques du papier sont transposées à l'écran.**

L'arrière-plan d'une application ressemble à la texture plate et opaque d'une feuille de papier, et le comportement d'une application imite la capacité du papier à être redimensionné, réorganisé et assemblé en plusieurs feuilles.

## Paper

![](/files/0WISXYyh9BDj6CTfaDU3)

```powershell
New-UDPaper -Elevation 0 -Content {} 
New-UDPaper -Elevation 1 -Content {} 
New-UDPaper -Elevation 3 -Content {}
```

## Mise en forme du contenu Paper

Par défaut, le composant Paper utilise le type d'affichage flex pour le contenu à l'intérieur du papier. Cela peut causer des problèmes avec d'autres types de contenu qui pourraient être stockés dans le papier. Vous pouvez remplacer le type d'affichage en utilisant le paramètre `-Style`.

```powershell
$m=@'
# Hello

## world
- a
- b
-c
'@

New-UDPaper -Elevation 7 -Children {
   New-UDMarkdown -markdown $m
} -Style @{
   display = 'block'
}
```

## Papier carré

Par défaut, le papier aura des bords arrondis. Vous pouvez réduire l'arrondi en utilisant un papier carré.

```powershell
New-UDPaper -Square -Content {}
```

## Papier coloré

Le paramètre `-Style` peut être utilisé pour colorer le papier. Tout CSS valide peut être inclus dans la table de hachage pour un style.

L'exemple suivant crée un papier avec un arrière-plan rouge.

```powershell
New-UDPaper  -Content { } -Style @{ 
     backgroundColor = 'red'
}
```

## API

* [New-UDPaper](https://github.com/Devolutions/doc-gitbook/blob/master/translations/fr/powershell-universal/cmdlets/New-UDPaper.txt)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.devolutions.net/powershell-universal/fr/apps/components/surfaces/paper.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.
