CNiImage::SaveLink

CNi

Class
CNiImage::
SaveLink
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ReverseAnimationNext page: Stretch    
Public Data Item Declared in:
NiImage.h

'Declaration' icon -- Shortcut to top of page. Declaration

bool SaveLink;

'Description' icon -- Shortcut to top of page. Description

Specifies if the CNiImage object saves the image or a link to the image.

Notes:

1. If you load an image into the control through the property page, the control can save the image in one of two ways. The default is for the control to save the entire image file as part of the resource file. This is what the control does if SaveLink is set to false. Saving the image as part of the resource file means that the file can get large and can contain duplicate images. Alternatively, you can save a link (path) to the image file. When the control is loaded, it loads its images from the paths (URLs) given. This means that the resource file remains small, but the images must be available to load when an application is built.

2. This property does not apply to CNiImage objects representing captions.

'See Also' icon -- Shortcut to top of page. See Also