Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / CopyToExcluding Method
The current PDF dictionary holder.
The target PDF dictionary 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 pdh As IPdfDictHolder, _
       ByRef dest As PdfDict, _
       ByVal propsToExclude As System.Collections.Generic.HashSet(Of String) _
    ) 
    public static void CopyToExcluding( 
       IPdfDictHolder pdh,
       ref PdfDict dest,
       System.Collections.Generic.HashSet<string> propsToExclude
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    dest
    The target PDF dictionary object (can be null).
    propsToExclude
    The names of properties to exclude.
    See Also