private void InitializeProfileListFromToken(ColorProfileInfoCollection collection)
        {
            this.proofingColorProfiles.AddRange(collection);

            for (int i = 0; i < collection.Count; i++)
            {
                this.proofingProfilesCombo.Items.Add(collection[i].Description);
            }
        }
 public SoftProofingConfigDialog()
 {
     UI.InitScaling(this);
     InitializeComponent();
     this.inputProfile               = null;
     this.displayProfile             = null;
     this.proofingColorProfiles      = new ColorProfileInfoCollection();
     this.xmlSettings                = new XMLSettingsContainer();
     this.destinationProfileTempPath = null;
 }
示例#3
0
 public SoftProofingConfigToken(
     ColorProfileInfo inputProfile,
     ColorProfileInfo monitorProfile,
     RenderingIntent displayIntent,
     ColorProfileInfoCollection proofingProfiles,
     int proofingProfileIndex,
     RenderingIntent proofingIntent,
     bool showGamutWarning,
     Color gamutWarningColor,
     bool blackPointCompensation
     )
 {
     this.InputColorProfile      = inputProfile;
     this.DisplayColorProfile    = monitorProfile;
     this.DisplayIntent          = displayIntent;
     this.ProofingColorProfiles  = proofingProfiles;
     this.ProofingProfileIndex   = proofingProfileIndex;
     this.ProofingIntent         = proofingIntent;
     this.ShowGamutWarning       = showGamutWarning;
     this.GamutWarningColor      = gamutWarningColor;
     this.BlackPointCompensation = blackPointCompensation;
 }
 public XMLSettingsContainer()
 {
     this.InputProfile     = null;
     this.DisplayProfile   = null;
     this.ProofingProfiles = null;
 }