presentationFormats
GetterReadOnly
Presentation formats parsed into structured overrides. Each entry has the format name
(alias-qualified, e.g. "f:DefaultRealU"), optional precision override, and optional
unit-and-label overrides. Returns an empty array if no presentation formats are defined.
Example - given a raw string of ["f:DefaultRealU(4)[u:M_PER_SEC_SQ]","f:DefaultRealU(4)[u:CM_PER_SEC_SQ]"]:
// [
// { name: "f:DefaultRealU", precision: 4, unitAndLabels: [["u:M_PER_SEC_SQ", undefined]] },
// { name: "f:DefaultRealU", precision: 4, unitAndLabels: [["u:CM_PER_SEC_SQ", undefined]] },
// ]
presentationFormats: ReadonlyArray<SchemaView.PresentationFormat>
Returns - ReadonlyArray<SchemaView.PresentationFormat>
Defined in
- ecschema-metadata/src/SchemaView.ts Line 1084
Last Updated: 27 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.