Class TAttachment

Unit

Declaration

type TAttachment = class(TDataType)

Description

For referring to data content defined in other formats. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Hierarchy

Overview

Methods

Public constructor Create; override;

Properties

Public property contentType : string read GetcontentType write SetcontentType;
Public property contentTypeElement : Tcode read GetcontentTypeElement write SetcontentTypeElement;
Public property language : string read Getlanguage write Setlanguage;
Public property languageElement : Tcode read GetlanguageElement write SetlanguageElement;
Public property data : string read Getdata write Setdata;
Public property dataElement : Tbase64Binary read GetdataElement write SetdataElement;
Public property url : string read Geturl write Seturl;
Public property urlElement : Turl read GeturlElement write SeturlElement;
Public property size : Tinteger64 read Getsize write Setsize;
Public property hash : string read Gethash write Sethash;
Public property hashElement : Tbase64Binary read GethashElement write SethashElement;
Public property title : string read Gettitle write Settitle;
Public property titleElement : Tstring read GettitleElement write SettitleElement;
Public property creation : string read Getcreation write Setcreation;
Public property creationElement : TdateTime_ read GetcreationElement write SetcreationElement;
Public property height : Int64 read Getheight write Setheight;
Public property heightElement : TpositiveInt read GetheightElement write SetheightElement;
Public property width : Int64 read Getwidth write Setwidth;
Public property widthElement : TpositiveInt read GetwidthElement write SetwidthElement;
Public property frames : Int64 read Getframes write Setframes;
Public property framesElement : TpositiveInt read GetframesElement write SetframesElement;
Public property duration : Double read Getduration write Setduration;
Public property durationElement : Tdecimal read GetdurationElement write SetdurationElement;
Public property pages : Int64 read Getpages write Setpages;
Public property pagesElement : TpositiveInt read GetpagesElement write SetpagesElement;

Description

Methods

Public constructor Create; override;
 

Properties

Public property contentType : string read GetcontentType write SetcontentType;

Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.

Public property contentTypeElement : Tcode read GetcontentTypeElement write SetcontentTypeElement;
 
Public property language : string read Getlanguage write Setlanguage;

The human language of the content. The value can be any valid value according to BCP 47.

Public property languageElement : Tcode read GetlanguageElement write SetlanguageElement;
 
Public property data : string read Getdata write Setdata;

The actual data of the attachment - a sequence of bytes, base64 encoded.

Public property dataElement : Tbase64Binary read GetdataElement write SetdataElement;
 
Public property url : string read Geturl write Seturl;

A location where the data can be accessed.

Public property urlElement : Turl read GeturlElement write SeturlElement;
 
Public property size : Tinteger64 read Getsize write Setsize;

The number of bytes of data that make up this attachment (before base64 encoding, if that is done).

Public property hash : string read Gethash write Sethash;

The calculated hash of the data using SHA-1. Represented using base64.

Public property hashElement : Tbase64Binary read GethashElement write SethashElement;
 
Public property title : string read Gettitle write Settitle;

A label or set of text to display in place of the data.

Public property titleElement : Tstring read GettitleElement write SettitleElement;
 
Public property creation : string read Getcreation write Setcreation;

The date that the attachment was first created.

Public property creationElement : TdateTime_ read GetcreationElement write SetcreationElement;
 
Public property height : Int64 read Getheight write Setheight;

Height of the image in pixels (photo/video).

Public property heightElement : TpositiveInt read GetheightElement write SetheightElement;
 
Public property width : Int64 read Getwidth write Setwidth;

Width of the image in pixels (photo/video).

Public property widthElement : TpositiveInt read GetwidthElement write SetwidthElement;
 
Public property frames : Int64 read Getframes write Setframes;

The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.

Public property framesElement : TpositiveInt read GetframesElement write SetframesElement;
 
Public property duration : Double read Getduration write Setduration;

The duration of the recording in seconds - for audio and video.

Public property durationElement : Tdecimal read GetdurationElement write SetdurationElement;
 
Public property pages : Int64 read Getpages write Setpages;

The number of pages when printed.

Public property pagesElement : TpositiveInt read GetpagesElement write SetpagesElement;
 

Generated by PasDoc 0.15.0.