SnapPrefsData
The non-persistent implementation of ISnapPrefsData.
Copy the given ISnapPrefsData to here. This is a shortcut if you only want to change one setting, use this to copy the settings then just change the one.
- Parameters
Implements ISnapPrefsData.
| const PMReal & SnapPrefsData::GetBleed | ( | | ) | |
| virtual |
| const bool16 & SnapPrefsData::GetDrawArea | ( | | ) | |
| virtual |
Returns kTrue if draw the clicked spread, returns kFalse if draw the selected items.
Implements ISnapPrefsData.
| const bool16 & SnapPrefsData::GetDrawGray | ( | | ) | |
| virtual |
Returns kTrue if image is draw in grayscale, otherwise returns kFalse.
Implements ISnapPrefsData.
| const int32 & SnapPrefsData::GetDrawingFlags | ( | | ) | |
| virtual |
| const ClassID & SnapPrefsData::GetFormatClassID | ( | | ) | |
| virtual |
| const bool16 & SnapPrefsData::GetFullResolutionGraphics | ( | | ) | |
| virtual |
Returns kTrue if the image is drawn at full resolution, otherwise returns kFalse.
Implements ISnapPrefsData.
| const bool16 & SnapPrefsData::GetGIFInterlaced | ( | | ) | |
| virtual |
| const int32 & SnapPrefsData::GetGIFPaletteType | ( | | ) | |
| virtual |
| const bool16 & SnapPrefsData::GetGIFTransparent | ( | | ) | |
| virtual |
| const int32 & SnapPrefsData::GetJPEGEncoding | ( | | ) | |
| virtual |
| const int32 & SnapPrefsData::GetJPEGQuality | ( | | ) | |
| virtual |
| const PMReal & SnapPrefsData::GetMinimumResolution | ( | | ) | |
| virtual |
| const PMReal & SnapPrefsData::GetResolution | ( | | ) | |
| virtual |
| const PMReal & SnapPrefsData::GetScale | ( | | ) | |
| virtual |
| const int32 & SnapPrefsData::GetTIFFPaletteType | ( | | ) | |
| virtual |
| const bool16 & SnapPrefsData::GetTIFFTransparent | ( | | ) | |
| virtual |
| void SnapPrefsData::SetBleed | ( | const PMReal & | bleed | ) | |
| virtual |
Set the bounds of the area to be drawn by the given amount of bleed.
Implements ISnapPrefsData.
| void SnapPrefsData::SetDrawArea | ( | bool16 | drawArea | ) | |
| virtual |
Set the draw area, the spread that is clicked or the selected items.
Implements ISnapPrefsData.
| void SnapPrefsData::SetDrawGray | ( | bool16 | drawGray | ) | |
| virtual |
Set to kTrue to draw grayscale, otherwise draw RGB.
Implements ISnapPrefsData.
| void SnapPrefsData::SetDrawingFlags | ( | int32 | drawingFlags | ) | |
| virtual |
Set the drawing flag.
- Parameters
| drawingFlags | IN If this is set to kPrinting, then it suppresses the drawing of margins and guides. See IShape for the drawing flags. |
- See Also
- IShape
Implements ISnapPrefsData.
| void SnapPrefsData::SetFormatClassID | ( | const ClassID & | formatClassID | ) | |
| virtual |
| void SnapPrefsData::SetFullResolutionGraphics | ( | bool16 | fullResolutionGraphics | ) | |
| virtual |
Set to kTrue to force images and graphics to draw at full resolution, otherwise draw proxies.
Implements ISnapPrefsData.
| void SnapPrefsData::SetGIFInterlaced | ( | const bool16 | interlaced | ) | |
| virtual |
Set the interlace flag for GIF image. In general, it causes the reader to take longer to display the image if it is set.
Implements ISnapPrefsData.
| void SnapPrefsData::SetGIFPaletteType | ( | const int32 | paletteType | ) | |
| virtual |
Set the palette type for GIF image:
- Parameters
| paletteType | Set to kTryExactThenAdaptivePalette (0), kMacPalette (1), kWebPalette (2) or kWinPalette (4). NOTE: kNoPalette is not an option for GIF images as they need a color palette. |
Implements ISnapPrefsData.
| void SnapPrefsData::SetGIFTransparent | ( | const bool16 | transparent | ) | |
| virtual |
| void SnapPrefsData::SetJPEGEncoding | ( | const int32 | encoding | ) | |
| virtual |
Set the JPEG encoding
- Parameters
| encoding | IN Set to baseline (0) or progressive (1). |
Implements ISnapPrefsData.
| void SnapPrefsData::SetJPEGQuality | ( | const int32 | quality | ) | |
| virtual |
Set the JPEG quality: low, good, excellent and great.
Implements ISnapPrefsData.
| void SnapPrefsData::SetMinimumResolution | ( | const PMReal & | minimumResolution | ) | |
| virtual |
| void SnapPrefsData::SetName | ( | const WideString & | name | ) | |
| virtual |
Set the file name to which you want your snap shot saved.
Implements ISnapPrefsData.
| void SnapPrefsData::SetResolution | ( | const PMReal & | resolution | ) | |
| virtual |
| void SnapPrefsData::SetScale | ( | const PMReal & | scale | ) | |
| virtual |
| void SnapPrefsData::SetTIFFPaletteType | ( | const int32 | paletteType | ) | |
| virtual |
Set the palette type for TIFF image.
- Parameters
| paletteType | IN Set to kNoPalette (0), kTryExactThenAdaptivePalette (1), kMacPalette (2), kWebPalette (3) or kWinPalette (4). |
Implements ISnapPrefsData.
| void SnapPrefsData::SetTIFFTransparent | ( | const bool16 | transparent | ) | |
| virtual |