Ejemplo n.º 1
0
 /// <summary>Merges the set options of a another options object with this.</summary>
 /// <remarks>
 /// Merges the set options of a another options object with this.
 /// If the other options set is null, this objects stays the same.
 /// </remarks>
 /// <param name="options">other options</param>
 /// <exception cref="iText.Kernel.XMP.XMPException">If illegal options are provided</exception>
 public void MergeWith(iText.Kernel.XMP.Options.PropertyOptions options)
 {
     if (options != null)
     {
         SetOptions(GetOptions() | options.GetOptions());
     }
 }
Ejemplo n.º 2
0
 /// <summary>Compares two options set for array compatibility.</summary>
 /// <param name="options">other options</param>
 /// <returns>Returns true if the array options of the sets are equal.</returns>
 public bool EqualArrayTypes(iText.Kernel.XMP.Options.PropertyOptions options)
 {
     return(IsArray() == options.IsArray() && IsArrayOrdered() == options.IsArrayOrdered() && IsArrayAlternate(
                ) == options.IsArrayAlternate() && IsArrayAltText() == options.IsArrayAltText());
 }