PDFView4NET WinForms Edition
Data Property (PDFFileAttachment)




O2S.Components.PDFView4NET Namespace > PDFFileAttachment Class : Data Property
Gets or sets the data stored in the file attachment.
Syntax
'Declaration
 
Public Property Data As Byte()
'Usage
 
Dim instance As PDFFileAttachment
Dim value() As Byte
 
instance.Data = value
 
value = instance.Data
public byte[] Data {get; set;}
public: __property byte[]* get_Data();
public: __property void set_Data( 
   byte[][]* value
);
public:
property array<byte>^ Data {
   array<byte>^ get();
   void set (    array<byte>^ value);
}

Property Value

The content of the file attachment.
Remarks
If this property returns 0, this means that the file attachment has not been loaded and you need to call the Load method first.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFFileAttachment Class
PDFFileAttachment Members