[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetOffsets

SetOffsets Method

SetOffsets(IPdfDict, PdfName, Offsets?, Offsets?)

Sets the Offsets value associated with the specified key. If the value is null or is equal to defValue, removes the key from the dictionary.

Declaration
public static void SetOffsets(this IPdfDict dict, PdfName key, Offsets? value, Offsets? defValue)
Public Shared Sub SetOffsets(dict As IPdfDict, key As PdfName, value As Offsets?, defValue As Offsets?)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

Offsets? value

The value to set.

Offsets? defValue

The default value.