TdxOfficeImage Class
A universal image container compatible with various document file formats.
Declaration
TdxOfficeImage = class(
TdxSmartImage
)
Remarks
This class extends the Smart Image container with the functionality required to display images in the loaded document and store them in formatted text document files. The TdxOfficeImage class implements the following members that allow you to:
Create a new Office Image from the specified stream (CreateImage);
Create a copy of an existing Office Image container (Clone);
Populate the Office Image container with the image stored in another Smart Image container (AssignFromSmartImage);
Obtain the description and file name extension of the specified Office image format (GetContentType and GetExtension);
Obtain the image on-screen dimensions in various measurement units (SizeInOriginalUnits, SizeInImageUnits, SizeInPixels, SizeInTwips, and SizeInHundredthsOfMillimeter);
Obtain and/or modify the image’s spatial resolution (HorizontalResolution, VerticalResolution, and SetResolution);’
Identify the stored image data and pixel formats (RawFormat and PixelFormat);
Identify if a placeholder should be displayed instead of the stored image (IsLoaded).
Refer to the TdxGPImage and TdxCustomSmartImage class descriptions for detailed information on the core functionality DevExpress Smart Image containers provide.
A TdxOfficeImage object stores an inline or floating document image.