Class NSDocumentPreview
Document data intended for preview purposes. Carrier object for DocumentPreview.
Constructors
NSDocumentPreview()
Initializes a new instance of the NSDocumentPreview class.
Declaration
NSDocumentPreview Methods
GetName()
Declaration
String GetName() Examples
NSDocumentPreview thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | The documents name. |
GetSize()
Declaration
Integer GetSize() Examples
NSDocumentPreview thing;
Integer size = thing.GetSize();
Returns
| Type | Description |
| Integer | Size of the stream. |
GetStream()
Declaration
NSStream GetStream() Examples
NSDocumentPreview thing;
NSStream stream = thing.GetStream();
Returns
| Type | Description |
| NSStream | Document data. |
GetType()
Declaration
String GetType() Examples
NSDocumentPreview thing;
String type = thing.GetType();
Returns
| Type | Description |
| String | The mimetype of the stream. |
SetName(String)
Declaration
Void SetName(String name) Examples
NSDocumentPreview thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | The documents name. |
Returns
| Type | Description |
| Void |
SetSize(Integer)
Declaration
Void SetSize(Integer size) Examples
NSDocumentPreview thing;
Integer size;
thing.SetSize(size);
Parameters
| Type | Name | Description |
| Integer | size | Size of the stream. |
Returns
| Type | Description |
| Void |