8 #include <system/shared_ptr.h>
11 #include "aspose.tasks.cpp/Saving/ICloneableSaveOptions.h"
12 #include "aspose.tasks.cpp/Saving/SaveOptions.h"
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
23 class IPageSavingCallback;
24 enum class SaveFileFormat;
26 enum class TiffCompression;
36 template <
typename>
class List;
43 enum class PixelFormat;
57 class ASPOSE_TASKS_SHARED_CLASS
ImageSaveOptions :
public Aspose::Tasks::Saving::SaveOptions,
public Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap,
public Aspose::Tasks::Saving::SaveOptions::IFontCallbacks,
public Aspose::Tasks::Saving::ICloneableSaveOptions
61 typedef Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap BaseType1;
62 typedef Aspose::Tasks::Saving::SaveOptions::IFontCallbacks BaseType2;
63 typedef Aspose::Tasks::Saving::ICloneableSaveOptions BaseType3;
65 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3> ThisTypeBaseTypesInfo;
66 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
73 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::FontSettings>
get_FontSettings()
override;
78 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<int32_t>>
get_Pages();
83 ASPOSE_TASKS_SHARED_API
void set_Pages(
const System::SharedPtr<System::Collections::Generic::List<int32_t>>& value);
119 ASPOSE_TASKS_SHARED_API System::Drawing::Imaging::PixelFormat
get_PixelFormat()
const;
123 ASPOSE_TASKS_SHARED_API
void set_PixelFormat(System::Drawing::Imaging::PixelFormat value);
164 ASPOSE_TASKS_SHARED_API
ImageSaveOptions(
const System::SharedPtr<ImageSaveOptions>& options);
166 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
ImageSaveOptions, CODEPORTING_ARGS(
const System::SharedPtr<ImageSaveOptions>& options));
167 ASPOSE_TASKS_SHARED_API System::SharedPtr<IWriter> GetWriter()
override;
171 #ifdef ASPOSE_GET_SHARED_MEMBERS
172 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
178 System::SharedPtr<System::Collections::Generic::List<int32_t>> pages;
180 System::SharedPtr<Aspose::Tasks::FontSettings> pr_FontSettings;
185 ASPOSE_TASKS_SHARED_API
void set_FontSettings(
const System::SharedPtr<Aspose::Tasks::FontSettings>& value);
187 bool pr_ReduceFooterGap;
188 Aspose::Tasks::Saving::TiffCompression pr_TiffCompression;
189 System::Drawing::Imaging::PixelFormat pr_PixelFormat;
190 float pr_HorizontalResolution;
191 float pr_VerticalResolution;
192 System::SharedPtr<IPageSavingCallback> pr_PageSavingCallback;
194 System::SharedPtr<SaveOptions> Clone()
override;
195 void CopyOutputPropertiesFrom(System::SharedPtr<SaveOptions> source)
override;
Allows to specify additional options when rendering project pages to images.
Definition: ImageSaveOptions.h:58
ImageSaveOptions(SaveFileFormat saveFormat)
Initializes a new instance of the ImageSaveOptions class which can be used to save rendered images in...
void set_PageSavingCallback(const System::SharedPtr< IPageSavingCallback > &value)
Sets a user-defined callback which is used to get an output stream for each rendered page.
System::SharedPtr< System::Collections::Generic::List< int32_t > > get_Pages()
Gets a list of page numbers to save when saving project layout to separate files.
void set_Pages(const System::SharedPtr< System::Collections::Generic::List< int32_t >> &value)
Sets a list of page numbers to save when saving project layout to separate files.
void set_HorizontalResolution(float value)
Sets the horizontal resolution in dpi.
void set_JpegQuality(int32_t value)
Sets a JPEG quality. The allowed value range is 0..100.
bool get_ReduceFooterGap() override
Gets a value indicating whether a gap between last task and the footer must be reduced.
Aspose::Tasks::Saving::TiffCompression get_TiffCompression() const
Gets the type of compression to apply when saving generated images to the TIFF format.
System::Drawing::Imaging::PixelFormat get_PixelFormat() const
Gets the format of the color data for each pixel in the image.
void set_TiffCompression(Aspose::Tasks::Saving::TiffCompression value)
Sets the type of compression to apply when saving generated images to the TIFF format.
int32_t get_JpegQuality() const
Gets a JPEG quality. The allowed value range is 0..100.
System::SharedPtr< Aspose::Tasks::FontSettings > get_FontSettings() override
Specifies font settings used when rendering project's view.
float get_VerticalResolution() const
Gets the vertical resolution in dpi.
const System::SharedPtr< IPageSavingCallback > & get_PageSavingCallback() const
Gets a user-defined callback which is used to get an output stream for each rendered page.
float get_HorizontalResolution() const
Gets the horizontal resolution in dpi.
void set_VerticalResolution(float value)
Sets the vertical resolution in dpi.
void set_PixelFormat(System::Drawing::Imaging::PixelFormat value)
Sets the format of the color data for each pixel in the image.
void set_ReduceFooterGap(bool value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95