preferredAspectRatio The preferred aspect ratio of the generated barcode. Declarationvar preferredAspectRatio: Float { get set } See AlsoInstance PropertiesalwaysSpecifyCompactioncompactStylecompactionModecorrectionLeveldataColumnsmaxHeightmaxWidthmessageminHeightminWidthrows