# Builder
Class Inherits GraffitiWebUIControl
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Formats | A0 <br> A1 <br> A2 <br> A3 <br> A4 <br> A5 <br> A6 <br> A7 <br> A8 <br> A9 <br> A10 <br> B0 <br> B1 <br> B2 <br> B3 <br> B4 <br> B5 <br> B6 <br> B7 <br> B8 <br> B9 <br> B10 <br> C0 <br> C1 <br> C2 <br> C3 <br> C4 <br> C5 <br> C6 <br> C7 <br> C8 <br> C9 <br> C10 <br> CreditCard <br> DriversLicense <br> GovernmentLetter <br> JuniorLegal <br> Ledger <br> Legal <br> Letter <br> Tabloid | Support document size formats. |
| LineStyles | Bevel <br> Round <br> Square | Supported line styles. |
| Orientations | Portrait <br> Landscape | Supported document rendering orientations. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| DocumentReady | document as GraffitiPDF.Document <br> file as FolderItem | (None) | Fired when the document has been completed. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Build | document as Document | (None) | Builds a new PDF Document and returns the file content to the server. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| AvailableFonts | JSONItem | Nil | The fonts on the user's machine which are available for use in PDFs. |
| UploadPath | FolderItem | Nil | Path to save built PDFs to on the server. File are saved in an identifier/year/month/day/name scheme. |
| UploadPathMakeSafe | Boolean | True | Will attempt to sort returned PDF files in such a way that one user's uploads will not effect those of another. If you set this to False, generated files will be saved directly in the UploadPath and you may run in to issues in multi-user environments. Sorting these problems out will not be supported as the recommended setting is to leave this property's value as True. |