Table of Contents

Class PdfAttachmentNative

Namespace
nebulae.dotPDFium.Native
Assembly
dotPDFium.dll
public static class PdfAttachmentNative
Inheritance
PdfAttachmentNative
Inherited Members

Methods

FPDFAttachment_GetFile(nint, nint, uint, out uint)

public static extern bool FPDFAttachment_GetFile(nint attachment, nint buffer, uint buflen, out uint outBufLen)

Parameters

attachment nint
buffer nint
buflen uint
outBufLen uint

Returns

bool

FPDFAttachment_GetName(nint, char[], uint)

public static extern uint FPDFAttachment_GetName(nint attachment, char[] buffer, uint buflen)

Parameters

attachment nint
buffer char[]
buflen uint

Returns

uint

FPDFAttachment_GetStringValue(nint, string, char[], uint)

public static extern uint FPDFAttachment_GetStringValue(nint attachment, string key, char[] buffer, uint buflen)

Parameters

attachment nint
key string
buffer char[]
buflen uint

Returns

uint

FPDFAttachment_GetSubtype(nint, char[], uint)

public static extern uint FPDFAttachment_GetSubtype(nint attachment, char[] buffer, uint buflen)

Parameters

attachment nint
buffer char[]
buflen uint

Returns

uint

FPDFAttachment_GetValueType(nint, string)

public static extern int FPDFAttachment_GetValueType(nint attachment, string key)

Parameters

attachment nint
key string

Returns

int

FPDFAttachment_HasKey(nint, string)

public static extern bool FPDFAttachment_HasKey(nint attachment, string key)

Parameters

attachment nint
key string

Returns

bool

FPDFAttachment_SetFile(nint, nint, nint, uint)

public static extern bool FPDFAttachment_SetFile(nint attachment, nint document, nint contents, uint length)

Parameters

attachment nint
document nint
contents nint
length uint

Returns

bool

FPDFAttachment_SetStringValue(nint, string, string)

public static extern bool FPDFAttachment_SetStringValue(nint attachment, string key, string value)

Parameters

attachment nint
key string
value string

Returns

bool

FPDFDoc_AddAttachment(nint, string)

public static extern nint FPDFDoc_AddAttachment(nint document, string name)

Parameters

document nint
name string

Returns

nint

FPDFDoc_DeleteAttachment(nint, int)

public static extern bool FPDFDoc_DeleteAttachment(nint document, int index)

Parameters

document nint
index int

Returns

bool

FPDFDoc_GetAttachment(nint, int)

public static extern nint FPDFDoc_GetAttachment(nint document, int index)

Parameters

document nint
index int

Returns

nint

FPDFDoc_GetAttachmentCount(nint)

public static extern int FPDFDoc_GetAttachmentCount(nint document)

Parameters

document nint

Returns

int