Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / CopyToExcluding Method
The current dictionary.
The PdfDict object (can be null).
The names of properties to exclude.

In This Topic
    CopyToExcluding Method
    In This Topic
    Copies from the current dictionary to dest all properties except those specified in propsToExclude.

    dest can be null, in that case it will be initialized if there are any properties to copy.

    Syntax
    'Declaration
     
    Public Shared Sub CopyToExcluding( _
       ByVal dict As IPdfDict, _
       ByRef dest As PdfDict, _
       ByVal propsToExclude As System.Collections.Generic.HashSet(Of PdfName) _
    ) 
    public static void CopyToExcluding( 
       IPdfDict dict,
       ref PdfDict dest,
       System.Collections.Generic.HashSet<PdfName> propsToExclude
    )

    Parameters

    dict
    The current dictionary.
    dest
    The PdfDict object (can be null).
    propsToExclude
    The names of properties to exclude.
    See Also