[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.PdfEnum-1.-ctor

PdfEnum Constructor

PdfEnum(TEnum)

Initializes a new instance of the PdfEnum<TEnum> struct using a TEnum value.

Declaration
public PdfEnum(TEnum value)
Public Sub New(value As TEnum)
Parameters
Type Name Description
TEnum value

The TEnum value.

PdfEnum(PdfName)

Initializes a new instance of the PdfEnum<TEnum> struct using a PdfName object. The passed PdfName is converted to TEnum if possible.

Declaration
public PdfEnum(PdfName value)
Public Sub New(value As PdfName)
Parameters
Type Name Description
PdfName value

The string representing a TEnum value.

PdfEnum(string)

Initializes a new instance of the PdfEnum<TEnum> struct using a string. The passed string is converted to TEnum if possible.

Declaration
public PdfEnum(string value)
Public Sub New(value As String)
Parameters
Type Name Description
string value

The string representing a TEnum value.