TdxOfficeImage.CreateImage(TStream) Method
Creates a new Office Image container and populates it with an image from the specified stream.
Declaration
class function CreateImage(const AStream: TStream): TdxOfficeImage; static;
Parameters
Name | Type |
---|---|
AStream | TStream |
Returns
Type |
---|
TdxOfficeImage |
Remarks
Call this class function to create a new TdxOfficeImage class instance, populating it with an image stored in a stream object passed as the AStream parameter.
The CreateImage function returns nil instead of an Office Image container if the specified stream contains an unsupported or unrecognized image.
Note
The Office Image container currently supports all the image formats provided by the Smart Image container, except for SVG.
See Also