<< Click to Display Table of Contents >> VpeSetXmlPictureExport |
Specifies the mode for handling images of generated XML documents.
If set to true, VPE copies / creates images in destination directory named "<XML file>.img". If an image is used multiple times, it is only stored once in the target directory. If the original images are of type BMP, TIF, GIF, PCX, JPG, PNG and ICO, the original image is copied. Otherwise a compressed PNG is created from the original. The file path is written to the XML stream in the object block of the picture. The FileDictionary block of the XML stream is empty.
If set to false, pictures are encoded into Base-64. The Base-64 code will be written into the FileDictionary block of the XML stream with the relative path as the key. The encoded image will be embedded only once within the XML stream.
void VpeSetXmlPictureExport(
VpeHandle hDoc,
int yes_no
)
VpeHandle hDoc
Document Handle
int yes_no
Value |
Description |
True |
Copy / create external images |
False |
Encode images into Base-64 and embed them within the XML stream. |
Default:
False
Remarks:
This property should be set to false, if exporting XML to a memory stream.