#include <IImageIOPreferences.h>
|
| enum | { kDefaultIID = IID_IIMAGEIOPREFERENCES } |
| |
IImageIOPreferences This class defines the import/place time preferences for an image. This interface lives off of the workspace (session) and also off of each raster image page item (kImageItem boss). The workspace version defines the default settings for newly placed images. The version on the image's boss defines the settings that were used to import that image.
- See Also
- IImageIOPrefsCmdData.h
default IID for this interface
| virtual bool16 IImageIOPreferences::GetAllowAutoEmbedding | ( | void | | ) | const |
| pure virtual |
Returns whether it is okay to automatically embed an image if it is determined to be small enough
| virtual PMString IImageIOPreferences::GetAlphaChannelName | ( | | ) | const |
| pure virtual |
Returns the name of the alpha channel to apply.
| virtual bool16 IImageIOPreferences::GetCreateClippingFrame | ( | | ) | const |
| pure virtual |
Returns whether or not clipping paths will automatically be applied to images at Place time.
| virtual int32 IImageIOPreferences::GetPreviewResolution | ( | | ) | const |
| pure virtual |
Return the desired proxy resolution.
| virtual void IImageIOPreferences::SetAllowAutoEmbedding | ( | bool16 | allow | ) | |
| pure virtual |
During import, if an image is small enough (smaller than ILinkData::GetEmbedSize()) then it may be automatically embedded in the pub.
- Parameters
| virtual void IImageIOPreferences::SetAlphaChannelName | ( | const PMString & | channelName | ) | |
| pure virtual |
During import, if an image has multiple alpha channels, the user can select which alpha they wish to apply. The name is the alpha channel name. If channelName is empty, it means no alpha is selected. Initial/default value is an empty string.
- Parameters
| channelName | - IN: The name of the alpha channel. |
| virtual void IImageIOPreferences::SetCreateClippingFrame | ( | bool16 | doClip | ) | |
| pure virtual |
During import, if an image format contains a clipping path, the place provider has the option of creating a frame for the image based on the clipping path. Setting this flag does not imply that there is a path, rather it indicates the preference to use if it exists.
- Parameters
| doClip | - IN: kTrue to automatically apply clipping paths. |
| virtual void IImageIOPreferences::SetPreviewResolution | ( | int32 | resolution | ) | |
| pure virtual |
During import we always create a proxy image which is stored inside the pub. The following resolution dictates the size of the low res image.
- Parameters
| resolution | - IN: The desired proxy resolution. |