コード例 #1
0
 /// <summary>
 /// constructor for the event arg
 /// </summary>
 /// <param name="aitem"></param>
 public FontChooserDialogAppliedEventsArgs(FontChoice choice)
 {
     if (choice == null)
     {
         throw new Exception("FontChooserDialogAppliedEventArgs: choice must be non-null");
     }
     _choice = choice;
 }
コード例 #2
0
 public FontChoice(FontChoice choice)
 {
     _family                 = choice._family;
     _style                  = choice._style;
     _weight                 = choice._weight;
     _stretch                = choice._stretch;
     _size                   = choice._size;
     _decoration             = choice._decoration;
     _brush                  = choice._brush;
     _annotationAlternates   = choice._annotationAlternates;
     _capitals               = choice._capitals;
     _capitalSpacing         = choice._capitalSpacing;
     _caseSensitiveForms     = choice._caseSensitiveForms;
     _contextualAlternates   = choice._contextualAlternates;
     _contextualLigatures    = choice._contextualLigatures;
     _contextualSwashes      = choice._contextualSwashes;
     _discretionaryLigatures = choice._discretionaryLigatures;
     _eastAsianExpertForms   = choice._eastAsianExpertForms;
     _eastAsianLanguage      = choice._eastAsianLanguage;
     _eastAsianWidths        = choice._eastAsianWidths;
     _fraction               = choice._fraction;
     _historicalForms        = choice._historicalForms;
     _historicalLigatures    = choice._historicalLigatures;
     _kerning                = choice._kerning;
     _mathematicalGreek      = choice._mathematicalGreek;
     _numeralAlignment       = choice._numeralAlignment;
     _numeralStyle           = choice._numeralStyle;
     _slashedZero            = choice._slashedZero;
     _standardLigatures      = choice._standardLigatures;
     _standardSwashes        = choice._standardSwashes;
     _stylisticAlternates    = choice._stylisticAlternates;
     _stylisticSet1          = choice._stylisticSet1;
     _stylisticSet2          = choice._stylisticSet2;
     _stylisticSet3          = choice._stylisticSet3;
     _stylisticSet4          = choice._stylisticSet4;
     _stylisticSet5          = choice._stylisticSet5;
     _stylisticSet6          = choice._stylisticSet6;
     _stylisticSet7          = choice._stylisticSet7;
     _stylisticSet8          = choice._stylisticSet8;
     _stylisticSet9          = choice._stylisticSet9;
     _stylisticSet10         = choice._stylisticSet10;
     _stylisticSet11         = choice._stylisticSet11;
     _stylisticSet12         = choice._stylisticSet12;
     _stylisticSet13         = choice._stylisticSet13;
     _stylisticSet14         = choice._stylisticSet14;
     _stylisticSet15         = choice._stylisticSet15;
     _stylisticSet16         = choice._stylisticSet16;
     _stylisticSet17         = choice._stylisticSet17;
     _stylisticSet18         = choice._stylisticSet18;
     _stylisticSet19         = choice._stylisticSet19;
     _stylisticSet20         = choice._stylisticSet20;
     _variants               = choice._variants;
 }