PDFView4NET WinForms Edition
Size Property (PDFFileAttachment)




O2S.Components.PDFView4NET Namespace > PDFFileAttachment Class : Size Property
Gets the file size.
Syntax
'Declaration
 
Public ReadOnly Property Size As Integer
'Usage
 
Dim instance As PDFFileAttachment
Dim value As Integer
 
value = instance.Size
public int Size {get;}
public: __property int get_Size();
public:
property int Size {
   int get();
}

Property Value

The size of the file stored in Data property.
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