Click or drag to resize

PdfAttachmentCollectionItem Property (String)

Gets the PdfAttachment by its name.

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
Syntax
public PdfAttachment this[
	string name
] { get; set; }

Parameters

name
Type: SystemString
The name of an attachment.

Return Value

Type: PdfAttachment
The value associated with the name parameter in the PdfAttachmentCollection object, if name is found; otherwise, null.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe name or value is null.
ObjectDisposedExceptionThe attachment has been disposed.
UnexpectedTypeExceptionThe object with the given name is not an attachment.
See Also