Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / SetOffsets Method
The current dictionary.
The key identifying the value.
The value to set.
The default value.

In This Topic
    SetOffsets Method
    In This Topic
    Sets the GrapeCity.Documents.Common.Offsets value associated with the specified key. If the value is null or is equal to defValue, removes the key from the dictionary.
    Syntax
    'Declaration
     
    Public Shared Sub SetOffsets( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value As System.Nullable(Of Offsets), _
       ByVal defValue As System.Nullable(Of Offsets) _
    ) 
    public static void SetOffsets( 
       IPdfDict dict,
       PdfName key,
       System.Nullable<Offsets> value,
       System.Nullable<Offsets> defValue
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    value
    The value to set.
    defValue
    The default value.
    See Also