# Width property on XMLport elements
> Version: _Available from runtime version 1.0._
Specifies the number of characters in an XMLport element or attribute.
## Applies to
 XMLport text elements
 XMLport field elements
 XMLport table elements
 XMLport field attributes
 XMLport text attributes
## Property value
Set the property to an integer. The default is `0`.
## Syntax
```al
Width = 10;
```
## Remarks
The property is used only when the XMLport devenv-format-property is set to FixedText.
## Related information
devenv-xmlport-properties
Width property for table and page fields<devenv-width-property>
devenv-properties

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-width-xmlport-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-width-xmlport-property/
