paragraphs
TypeScriptget paragraphs(): Array<DocumentObservation_Container_Text>Swift declarationvar paragraphs: [DocumentObservation.Container.Text] { get }The document's extracted text, grouped into paragraphs within the container.
struct · iOS 26.0+ · SDK 27.1
struct ContainerA region of content recognized in a document.
get paragraphs(): Array<DocumentObservation_Container_Text>Swift declarationvar paragraphs: [DocumentObservation.Container.Text] { get }The document's extracted text, grouped into paragraphs within the container.
get boundingRegion(): ContoursObservation_ContourSwift declarationvar boundingRegion: NormalizedRegion { get }get text(): DocumentObservation_Container_TextSwift declarationvar text: DocumentObservation.Container.Text { get }All the text found within the container.
get lists(): Array<DocumentObservation_Container_List>Swift declarationvar lists: [DocumentObservation.Container.List] { get }The lists found within the container.
get title(): (DocumentObservation_Container_Text) | nullSwift declarationvar title: DocumentObservation.Container.Text? { get }The title found within the container.
get tables(): Array<DocumentObservation_Container_Table>Swift declarationvar tables: [DocumentObservation.Container.Table] { get }The tables found within the container.
get barcodes(): Array<BarcodeObservation>Swift declarationvar barcodes: [BarcodeObservation] { get }The machine-readable codes found within the container. Vision recognizes 20 different barcode types; to see the specific codes you can use ``RecognizeDocumentsRequest/supportedBarcodeSymbologies``. To see this value, set ``RecognizeDocumentsRequest/BarcodeDetectionOptions/enabled`` within ``RecognizeDocumentsRequest/BarcodeDetectionOptions`` to `true`.
No declarations were skipped in this snapshot.