![]() |
ScroogeXHTML for Object Pascal 8.5
|
In-memory picture adapter. More...
Public Member Functions | |
TMemoryPictureAdapterDataURI (const Integer AMaxDataURISizeInKB=MAX_DATA_URI_SIZE_IN_KB) | |
~TMemoryPictureAdapterDataURI () | |
string | getPictureHTML () |
This function returns the HTML code for the embedded picture. | |
SetBase (const string ABase) | |
The base URL for the generated picture URIs (only used if the picture is not encoded as a Data URIs). | |
SetConverter (const IPictureConverter AConverter) | |
Optionally set a picture converter. | |
<, > TObjectDictionary | TEmbeddedPicture () |
Return the map of the pictures in the current document. | |
In-memory picture adapter.
Requirements:
TMemoryPictureAdapterDataURI::TMemoryPictureAdapterDataURI | ( | const Integer | AMaxDataURISizeInKB = MAX_DATA_URI_SIZE_IN_KB | ) |
TMemoryPictureAdapterDataURI::~TMemoryPictureAdapterDataURI | ( | ) |
string TMemoryPictureAdapterDataURI::getPictureHTML | ( | ) |
This function returns the HTML code for the embedded picture.
Implements IPictureAdapter.
TMemoryPictureAdapterDataURI::SetBase | ( | const string | ABase | ) |
The base URL for the generated picture URIs (only used if the picture is not encoded as a Data URIs).
Default:
Implements IPictureAdapter.
TMemoryPictureAdapterDataURI::SetConverter | ( | const IPictureConverter | AConverter | ) |
Optionally set a picture converter.
Implements IPictureAdapter.
<, > TObjectDictionary TMemoryPictureAdapterDataURI::TEmbeddedPicture | ( | ) |
Return the map of the pictures in the current document.
Implements IPictureAdapter.