Show / Hide Table of Contents

Class DocumentPreview

Document data intended for preview purposes

Carrier object for DocumentPreview. Services for the DocumentPreview Carrier is available from the Document Agent.
Inheritance
object
DocumentPreview
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
public class DocumentPreview : Carrier

Constructors

DocumentPreview()

Default constructor

Declaration
public DocumentPreview()
See Also
IDocumentAgent

Properties

Name

The documents name

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
IDocumentAgent

Size

Size of the stream

Declaration
[DataMember]
public virtual int Size { get; set; }
Property Value
Type Description
int
See Also
IDocumentAgent

Stream

Document data

Declaration
[DataMember]
public virtual byte[] Stream { get; set; }
Property Value
Type Description
byte[]
See Also
IDocumentAgent

Type

The mimetype of the stream

Declaration
[DataMember]
public virtual string Type { get; set; }
Property Value
Type Description
string
See Also
IDocumentAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IDocumentAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IDocumentAgent

See Also

IDocumentAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top