DocFormatter QRBox( text , size = null , error = null ) A QR code. The QRBox shows a QR code inside a square box. Error levels from [0..3] indicate L|M|Q|H level error correction. The size includes the 'quite zone' around the QR code. Example = Span { for ( int level = 0; level < 4; ++ level ) { VBox ( null , null , 0.25) { HAlign : Center ; Span { "Error=" ; level }; QRBox ( "code text" , 1", level ); }; Space ; } }; Error=0code text Error=1code text Error=2code text Error=3code text Properties Name Description Action Click action handler TextAbbreviate Abbreviate unit names TextAlignment Vertical aligments for text in a span TextBackground Fill color for the area behind the text TextCase Text casing options TextColor Fill color for the text TextColumns Break lines after n characters TextCulture CultureInfo object TextDenominator Show double values as fractions whose max denominator is this value (e.g. 8 means 3.125 -> 3 1/8) TextDiagonal Use diagonal fractions TextDigits Number of decimal digits for doubles (e.g. 3 -> 3.142) TextDivision Add space after n characters TextEquation Format text as a math equation TextFace Type of font face TextFamily The name of a font family or a FontFamily object TextFormat Numeric/date format (e.g. MM-DD-YYYY) TextGroup Group digits together (e.g. 1,000,000) TextHeight Height of text in measure or % (e.g. 8 pts or 90%) TextHidden Do not show text TextItalic Use Italic version of font family TextLanguage Flags indicating the language of the text
TextLetterSpaceExtra space between lettersTextLiteralDo not proofreadTextMinDigitsRemove trailing zerosTextNumPaddingThe minimum left-zero-padded size of the number (e.g. 4 -> 0001)TextOffsetVertical offset of text in measure or % of font heightTextOverlineShow a line over the textTextPercentShow numbers as a percentage (e.g. 12.2%)TextRadixRadix for integers (e.g. 2 -> binary, 10 -> decimal, 16 -> hexadecimal)TextScientificShow numbers in scientific notation (e.g. 3.02x10^23)TextSignificantTreat TextDigits as the number of significant figures (e.g. if 3 then 1.2 -> 1.20 and 3124 -> 3120TextStackedStack Nary superscripts and subscripts above and below operatorsTextStretchHorizontal font stretch factor (e.g. 2.0 -> twice as wide)TextStrikeText strike-out stylesTextUnderlineText underline stylesTextValueForce symbolic numbers (e.g. PI) into their numberic valuesTextWeightTypeface weight options (e.g. normal=400, bold=700)TextWordSpaceExtra space between wordsTipPopup tip handlerTipActionPopup tip and click action handlerTipNoPublishDo not publish tips