ScroogeXHTML for Object Pascal 9.3
Loading...
Searching...
No Matches
TEmbeddedPicture Class Reference

Embedded picture. More...

Inheritance diagram for TEmbeddedPicture:

Public Member Functions

 TEmbeddedPicture ()
 ~TEmbeddedPicture ()
TBytes AsBytes ()
 Complete ()
 Picture has been read completely from RTF.
string getPictureHTML ()
 HTML code (img tag).
string Mediatype ()
 Returns the media type.
 setData (const TBytes Bytes)
 For conversion: overwrite data with bytes.
 setData (const TStream AStream)
 For conversion: overwrite data with stream.
TBytesStream Stream ()
 Picture data as bytes stream.
 Write (const Byte s)
 Write a Byte from RTF picture data.

Public Attributes

Cardinal HGoalPx
 The target height of the picture in pixels.
Int64 HGoalTwips
 The target height of the picture in twips.
Boolean IsDataURI
 Indicates whether the picture URL is a data URI.
TMappingMode MappingMode
 Specifies the mapping mode for the picture.
Int64 OriginalHeight
 The original height of the picture.
Int64 OriginalWidth
 The original width of the picture.
TPictureSource PictureFormat
 Specifies the format of the picture.
string PictureUrl
 The URL of the picture.
Int64 ScaleX
 The horizontal scaling factor of the picture.
Int64 ScaleY
 The vertical scaling factor of the picture.
Boolean Visible
 Indicates whether the picture is visible.
Cardinal WGoalPx
 The target width of the picture in pixels.
Int64 WGoalTwips
 The target width of the picture in twips.

Detailed Description

Embedded picture.

Constructor & Destructor Documentation

◆ TEmbeddedPicture()

TEmbeddedPicture::TEmbeddedPicture ( )

◆ ~TEmbeddedPicture()

TEmbeddedPicture::~TEmbeddedPicture ( )

Member Function Documentation

◆ AsBytes()

TBytes TEmbeddedPicture::AsBytes ( )

◆ Complete()

TEmbeddedPicture::Complete ( )

Picture has been read completely from RTF.

◆ getPictureHTML()

string TEmbeddedPicture::getPictureHTML ( )

HTML code (img tag).

◆ Mediatype()

string TEmbeddedPicture::Mediatype ( )

Returns the media type.

◆ setData() [1/2]

TEmbeddedPicture::setData ( const TBytes Bytes)

For conversion: overwrite data with bytes.

◆ setData() [2/2]

TEmbeddedPicture::setData ( const TStream AStream)

For conversion: overwrite data with stream.

◆ Stream()

TBytesStream TEmbeddedPicture::Stream ( )

Picture data as bytes stream.

◆ Write()

TEmbeddedPicture::Write ( const Byte s)

Write a Byte from RTF picture data.

Member Data Documentation

◆ HGoalPx

Cardinal TEmbeddedPicture::HGoalPx

The target height of the picture in pixels.

See also
GetHGoalPx For reading

◆ HGoalTwips

Int64 TEmbeddedPicture::HGoalTwips

The target height of the picture in twips.

See also
FHGoalTwips For reading
FHGoalTwips For writing

◆ IsDataURI

Boolean TEmbeddedPicture::IsDataURI

Indicates whether the picture URL is a data URI.

See also
GetIsDataURI For reading

◆ MappingMode

TMappingMode TEmbeddedPicture::MappingMode

Specifies the mapping mode for the picture.

See also
FMappingMode For reading
FMappingMode For writing

◆ OriginalHeight

Int64 TEmbeddedPicture::OriginalHeight

The original height of the picture.

See also
FOriginalHeight For reading
FOriginalHeight For writing

◆ OriginalWidth

Int64 TEmbeddedPicture::OriginalWidth

The original width of the picture.

See also
FOriginalWidth For reading
FOriginalWidth For writing

◆ PictureFormat

TPictureSource TEmbeddedPicture::PictureFormat

Specifies the format of the picture.

See also
FPictureFormat For reading
FPictureFormat For writing

◆ PictureUrl

string TEmbeddedPicture::PictureUrl

The URL of the picture.

See also
FPictureUrl For reading
FPictureUrl For writing

◆ ScaleX

Int64 TEmbeddedPicture::ScaleX

The horizontal scaling factor of the picture.

See also
FScaleX For reading
FScaleX For writing

◆ ScaleY

Int64 TEmbeddedPicture::ScaleY

The vertical scaling factor of the picture.

See also
FScaleY For reading
FScaleY For writing

◆ Visible

Boolean TEmbeddedPicture::Visible

Indicates whether the picture is visible.

See also
FVisible For reading
FVisible For writing

◆ WGoalPx

Cardinal TEmbeddedPicture::WGoalPx

The target width of the picture in pixels.

See also
GetWGoalPx For reading

◆ WGoalTwips

Int64 TEmbeddedPicture::WGoalTwips

The target width of the picture in twips.

See also
FWGoalTwips For reading
FWGoalTwips For writing