Пример #1
0
        /**
         * Three names that identify in order a linear display unit, an area display
         * unit, and an angular display unit.
         *
         * @param l
         * @param s
         * @param a
         */
        virtual public void SetDisplayUnits(Linear l, Square s, Angular a)
        {
            PdfArray arr = new PdfArray();

            arr.Add(DecodeUnits.Decode(l));
            arr.Add(DecodeUnits.Decode(s));
            arr.Add(DecodeUnits.Decode(a));
            base.Put(PdfName.PDU, arr);
        }
Пример #2
0
 /**
  * Adds a point to the Point Data dictionary.
  * @param value an XPTS value
  * @param identifier
  */
 virtual public void AddXPTSValue(PdfNumber value, PtIdentifier identifier)
 {
     xpts.Add(value);
     names.Add(DecodeUnits.Decode(identifier));
 }
Пример #3
0
 /**
  * Indicate whether and in what manner to display a fractional value from
  * the result of converting to the units of this NumberFormat means of the
  * conversion factor entry.
  *
  * @param f
  */
 virtual public void SetFractionalValue(Fraction f)
 {
     base.Put(PdfName.F, DecodeUnits.Decode(f));
 }