Aspose::Pdf::Facades::PdfConverter Class Referencefinal

Represents a class to convert a pdf file's each page to images, supporting BMP, JPEG, PNG and TIFF now. Supported content in pdfs: pictures, form, comment. More...

Inherits Aspose::Pdf::Facades::Facade.

Public Member Functions

ASPOSE_PDF_SHARED_API PageCoordinateType get_CoordinateType () const
 Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default. More...
 
ASPOSE_PDF_SHARED_API void set_CoordinateType (PageCoordinateType value)
 Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default. More...
 
ASPOSE_PDF_SHARED_API bool get_ShowHiddenAreas () const
 Gets flag that controls visibility of hidden areas on the page. More...
 
ASPOSE_PDF_SHARED_API void set_ShowHiddenAreas (bool value)
 Sets flag that controls visibility of hidden areas on the page. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::RenderingOptionsget_RenderingOptions () const
 Gets rendering options. More...
 
ASPOSE_PDF_SHARED_API void set_RenderingOptions (System::SharedPtr< Aspose::Pdf::RenderingOptions > value)
 Sets rendering options. More...
 
ASPOSE_PDF_SHARED_API Aspose::Pdf::Devices::FormPresentationMode get_FormPresentationMode () const
 Gets form presentation mode. More...
 
ASPOSE_PDF_SHARED_API void set_FormPresentationMode (Aspose::Pdf::Devices::FormPresentationMode value)
 Sets form presentation mode. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Devices::Resolutionget_Resolution () const
 Gets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150. More...
 
ASPOSE_PDF_SHARED_API void set_Resolution (System::SharedPtr< Aspose::Pdf::Devices::Resolution > value)
 Sets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150. More...
 
ASPOSE_PDF_SHARED_API int32_t get_StartPage () const
 Gets start position which you want to convert. The minimal value is 1. More...
 
ASPOSE_PDF_SHARED_API void set_StartPage (int32_t value)
 Sets start position which you want to convert. The minimal value is 1. More...
 
ASPOSE_PDF_SHARED_API int32_t get_EndPage ()
 Gets end position which you want to convert. More...
 
ASPOSE_PDF_SHARED_API void set_EndPage (int32_t value)
 Sets end position which you want to convert. More...
 
ASPOSE_PDF_SHARED_API System::String get_Password () const
 Gets document OwnerPassword. More...
 
ASPOSE_PDF_SHARED_API void set_Password (System::String value)
 Sets document OwnerPassword. More...
 
ASPOSE_PDF_SHARED_API System::String get_UserPassword () const
 Gets document UserPassword. More...
 
ASPOSE_PDF_SHARED_API void set_UserPassword (System::String value)
 Sets document UserPassword. More...
 
ASPOSE_PDF_SHARED_API int32_t get_PageCount ()
 Gets the page count. More...
 
ASPOSE_PDF_SHARED_API void DoConvert ()
 Do some initial works for converting a pdf document to images. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile)
 Converts each pages of a pdf document to images and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, Aspose::Pdf::Devices::CompressionType compressionType)
 Converts each pages of a pdf document to images and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, int32_t imageWidth, int32_t imageHeight)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, System::SharedPtr< PageSize > pageSize)
 Converts each pages of a pdf document to images with page size and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, System::SharedPtr< PageSize > pageSize, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings)
 Converts each pages of a pdf document to images with page size and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, int32_t imageWidth, int32_t imageHeight, Aspose::Pdf::Devices::CompressionType compressionType)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, int32_t imageWidth, int32_t imageHeight, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, int32_t imageWidth, int32_t imageHeight, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings, System::SharedPtr< IIndexBitmapConverter > converter)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFFClassF (System::String outputFile, int32_t imageWidth, int32_t imageHeight)
 Converts each pages of a pdf document to images and save images to a single TIFF ClassF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFFClassF (System::String outputFile, System::SharedPtr< PageSize > pageSize)
 Converts each pages of a pdf document to images and save images to a single TIFF ClassF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFFClassF (System::SharedPtr< System::IO::Stream > outputStream, int32_t imageWidth, int32_t imageHeight)
 Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFFClassF (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize)
 Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream)
 Converts each pages of a pdf document to images and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, Aspose::Pdf::Devices::CompressionType compressionType)
 Converts each pages of a pdf document to images and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize)
 Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings)
 Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, int32_t imageWidth, int32_t imageHeight)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, int32_t imageWidth, int32_t imageHeight, Aspose::Pdf::Devices::CompressionType compressionType)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, int32_t imageWidth, int32_t imageHeight, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, int32_t imageWidth, int32_t imageHeight, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings, System::SharedPtr< IIndexBitmapConverter > converter)
 Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API bool HasNextImage ()
 Indicates whether the pdf file has more images or not. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile)
 Saves image to file with default image format - jpeg. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< PageSize > pageSize)
 Saves image to file with ith given page size and default image format - jpeg. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format)
 Saves image to file with the givin image format. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format)
 Saves image to file with given page size and image format. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream)
 Saves image to stream with default image format - jpeg. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize)
 Saves image to stream with given page size. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format)
 Saves image to stream with given image format. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format)
 Saves image to stream with given page size. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t imageWidth, int32_t imageHeight, int32_t quality)
 Saves image to file with the given image format, dimensions and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t imageWidth, int32_t imageHeight, int32_t quality)
 Saves image to stream with the givin image format, dimensions and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, double imageWidth, double imageHeight, int32_t quality)
 Saves image to file with the givin image format, image size, and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, double imageWidth, double imageHeight, int32_t quality)
 Saves image to stream with the givin image format, size and quality. More...
 
ASPOSE_PDF_SHARED_API void BindPdf (System::String inputFile) override
 Binds a Pdf file for converting. More...
 
ASPOSE_PDF_SHARED_API void BindPdf (System::SharedPtr< System::IO::Stream > inputStream) override
 Binds a Pdf Stream for convert. More...
 
ASPOSE_PDF_SHARED_API PdfConverter ()
 Initializes new PdfConverter object. More...
 
ASPOSE_PDF_SHARED_API PdfConverter (System::SharedPtr< Aspose::Pdf::Document > document)
 Initializes new PdfConverter object on base of the document . More...
 
ASPOSE_PDF_SHARED_API void Close () override
 Close the instance of PdfConverter and release the resources. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFFClassF (System::String outputFile)
 Converts each pages of a pdf document to images and save images to a single TIFF ClassF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFFClassF (System::SharedPtr< System::IO::Stream > outputStream)
 Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings)
 Converts each pages of a pdf document to images with and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::String outputFile, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings, System::SharedPtr< IIndexBitmapConverter > converter)
 Converts each pages of a pdf document to images with and saves images to a single TIFF file. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings)
 Converts each pages of a pdf document to images and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void SaveAsTIFF (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< Aspose::Pdf::Devices::TiffSettings > settings, System::SharedPtr< IIndexBitmapConverter > converter)
 Converts each pages of a pdf document to images and saves images to a single TIFF stream. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t imageWidth, int32_t imageHeight)
 Saves image to file with the given image format and dimensions. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t imageWidth, int32_t imageHeight)
 Saves image to stream with the givin image format, size and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t quality)
 Saves image to stream with given image format and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t quality)
 Saves image to stream with given page size, image format and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t quality)
 Saves image to file with given image format and quality. More...
 
ASPOSE_PDF_SHARED_API void GetNextImage (System::String outputFile, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, int32_t quality)
 Saves image to file with given page size, image format and quality. More...
 
- Public Member Functions inherited from Aspose::Pdf::Facades::Facade
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Documentget_Document () const
 Gets the document facade is working on. More...
 
ASPOSE_PDF_SHARED_API void BindPdf (System::SharedPtr< Aspose::Pdf::Document > srcDoc) override
 Initializes the facade. More...
 
ASPOSE_PDF_SHARED_API void Dispose () override
 Disposes the facade. More...
 
- Public Member Functions inherited from Aspose::Pdf::Facades::IFacade
virtual void BindPdf (System::SharedPtr< Document > srcDoc)=0
 Binds PDF document for editing. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Static Public Member Functions

static ASPOSE_PDF_SHARED_API System::SharedPtr< System::IO::StreamMergeImages (System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< System::IO::Stream >>> inputImagesStreams, Aspose::Pdf::Drawing::ImageFormat outputImageFormat, ImageMergeMode mergeMode, System::Nullable< int32_t > horizontal, System::Nullable< int32_t > vertical)
 Merges list of image streams as one image stream. Png/jpg/tiff outputs formats are supported, in case of using non supported format output stream encoded as Jpeg by default. More...
 
static ASPOSE_PDF_SHARED_API System::SharedPtr< System::IO::StreamMergeImagesAsTiff (System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< System::IO::Stream >>> inputImagesStreams)
 Merges list of tiff streams as one multiple frames tiff stream. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Protected Member Functions

System::SharedPtr< System::IO::MemoryStreamConvertPageToPNGMemoryStream (System::SharedPtr< Page > page)
 
System::ArrayPtr< uint8_t > ConvertPageToPNGByteArray (System::SharedPtr< Page > page)
 
void GetNextImage (System::SharedPtr< System::Drawing::Graphics > outGraphics, float leftTopX, float leftTopY, int32_t paperWidth, int32_t paperHeight, System::Drawing::Rectangle marginBounds, float scaleFactor, int32_t rotateDegrees, bool autoSize, VerticalAlignment verticalAlignment, HorizontalAlignment horizontalAlignment, bool isXPSPrinting, bool isIntermidiateImage, bool isGrayscale)
 draws page to graphics More...
 
- Protected Member Functions inherited from Aspose::Pdf::Facades::Facade
bool get__IsObjectLicensed ()
 Gets licensed state of the system. Returns true is system works in licensed mode and false otherwise. More...
 
ASPOSE_PDF_SHARED_API Facade ()
 The constructor. More...
 
ASPOSE_PDF_SHARED_API Facade (System::SharedPtr< Aspose::Pdf::Document > srcDoc)
 The constructor. More...
 
virtual ASPOSE_PDF_SHARED_API void BindPdf (System::String srcFile, System::String password)
 Initializes the facade. More...
 
virtual ASPOSE_PDF_SHARED_API void BindPdf (System::SharedPtr< System::IO::Stream > srcStream, System::String password)
 Initializes the facade. More...
 
virtual ASPOSE_PDF_SHARED_API void AssertDocument () const
 Asserts if the facade is initialized. More...
 
virtual ASPOSE_PDF_SHARED_API ~Facade ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 

Detailed Description

Represents a class to convert a pdf file's each page to images, supporting BMP, JPEG, PNG and TIFF now. Supported content in pdfs: pictures, form, comment.

Constructor & Destructor Documentation

◆ PdfConverter() [1/2]

ASPOSE_PDF_SHARED_API Aspose::Pdf::Facades::PdfConverter::PdfConverter ( )

Initializes new PdfConverter object.

◆ PdfConverter() [2/2]

ASPOSE_PDF_SHARED_API Aspose::Pdf::Facades::PdfConverter::PdfConverter ( System::SharedPtr< Aspose::Pdf::Document document)

Initializes new PdfConverter object on base of the document .

Parameters
documentPdf document.

Member Function Documentation

◆ BindPdf() [1/2]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::BindPdf ( System::String  inputFile)
overridevirtual

Binds a Pdf file for converting.

Parameters
inputFileThe pdf file.

Reimplemented from Aspose::Pdf::Facades::Facade.

◆ BindPdf() [2/2]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::BindPdf ( System::SharedPtr< System::IO::Stream inputStream)
overridevirtual

Binds a Pdf Stream for convert.

Parameters
inputStreamThe pdf Stream.

Reimplemented from Aspose::Pdf::Facades::Facade.

◆ Close()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::Close ( )
overridevirtual

Close the instance of PdfConverter and release the resources.

Reimplemented from Aspose::Pdf::Facades::Facade.

◆ ConvertPageToPNGByteArray()

System::ArrayPtr<uint8_t> Aspose::Pdf::Facades::PdfConverter::ConvertPageToPNGByteArray ( System::SharedPtr< Page page)
protected

◆ ConvertPageToPNGMemoryStream()

System::SharedPtr<System::IO::MemoryStream> Aspose::Pdf::Facades::PdfConverter::ConvertPageToPNGMemoryStream ( System::SharedPtr< Page page)
protected

◆ DoConvert()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::DoConvert ( )

Do some initial works for converting a pdf document to images.

◆ get_CoordinateType()

ASPOSE_PDF_SHARED_API PageCoordinateType Aspose::Pdf::Facades::PdfConverter::get_CoordinateType ( ) const

Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default.

◆ get_EndPage()

ASPOSE_PDF_SHARED_API int32_t Aspose::Pdf::Facades::PdfConverter::get_EndPage ( )

Gets end position which you want to convert.

◆ get_FormPresentationMode()

ASPOSE_PDF_SHARED_API Aspose::Pdf::Devices::FormPresentationMode Aspose::Pdf::Facades::PdfConverter::get_FormPresentationMode ( ) const

Gets form presentation mode.

◆ get_PageCount()

ASPOSE_PDF_SHARED_API int32_t Aspose::Pdf::Facades::PdfConverter::get_PageCount ( )

Gets the page count.

◆ get_Password()

ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Facades::PdfConverter::get_Password ( ) const

Gets document OwnerPassword.

◆ get_RenderingOptions()

ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::RenderingOptions> Aspose::Pdf::Facades::PdfConverter::get_RenderingOptions ( ) const

Gets rendering options.

◆ get_Resolution()

ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Devices::Resolution> Aspose::Pdf::Facades::PdfConverter::get_Resolution ( ) const

Gets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150.

◆ get_ShowHiddenAreas()

ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfConverter::get_ShowHiddenAreas ( ) const

Gets flag that controls visibility of hidden areas on the page.

Deprecated:
CoordinateType property should be used instead of ShowHiddenAreas.

◆ get_StartPage()

ASPOSE_PDF_SHARED_API int32_t Aspose::Pdf::Facades::PdfConverter::get_StartPage ( ) const

Gets start position which you want to convert. The minimal value is 1.

◆ get_UserPassword()

ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Facades::PdfConverter::get_UserPassword ( ) const

Gets document UserPassword.

◆ GetNextImage() [1/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile)

Saves image to file with default image format - jpeg.

Parameters
outputFileThe file path and name to save the image.

◆ GetNextImage() [2/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< PageSize pageSize 
)

Saves image to file with ith given page size and default image format - jpeg.

Parameters
outputFileThe file path and name to save the image.
pageSizeThe page size of the image.

◆ GetNextImage() [3/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format 
)

Saves image to file with the givin image format.

Parameters
outputFileThe file path and name to save the image.
formatThe format of the image.

◆ GetNextImage() [4/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< PageSize pageSize,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format 
)

Saves image to file with given page size and image format.

Parameters
outputFileThe file path and name to save the image.
pageSizeThe page size of the image.
formatThe format of the image.

◆ GetNextImage() [5/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream)

Saves image to stream with default image format - jpeg.

Parameters
outputStreamThe stream to save the image.

◆ GetNextImage() [6/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< PageSize pageSize 
)

Saves image to stream with given page size.

Parameters
outputStreamThe stream to save the image.
pageSizeThe page size of the image.

◆ GetNextImage() [7/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format 
)

Saves image to stream with given image format.

Parameters
outputStreamThe stream to save the image.
formatThe format of the image.

◆ GetNextImage() [8/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< PageSize pageSize,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format 
)

Saves image to stream with given page size.

Parameters
outputStreamThe stream to save the image.
pageSizeThe page size of the image.
formatThe format of the image.

◆ GetNextImage() [9/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  imageWidth,
int32_t  imageHeight,
int32_t  quality 
)

Saves image to file with the given image format, dimensions and quality.

Parameters
outputFileThe file path and name to save the image.
formatThe format of the image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [10/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  imageWidth,
int32_t  imageHeight,
int32_t  quality 
)

Saves image to stream with the givin image format, dimensions and quality.

Parameters
outputStreamThe stream to save the image.
formatThe format of the image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [11/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
double  imageWidth,
double  imageHeight,
int32_t  quality 
)

Saves image to file with the givin image format, image size, and quality.

Parameters
outputFileThe file path and name to save the image.
formatThe format of the image.
imageWidthThe image width, the unit is pixels.
imageHeightThe image height, the unit is pixels..
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [12/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
double  imageWidth,
double  imageHeight,
int32_t  quality 
)

Saves image to stream with the givin image format, size and quality.

Parameters
outputStreamThe stream to save the image.
formatThe format of the image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [13/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  imageWidth,
int32_t  imageHeight 
)

Saves image to file with the given image format and dimensions.

Parameters
outputFileThe file path and name to save the image.
formatThe format of the image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.

◆ GetNextImage() [14/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  imageWidth,
int32_t  imageHeight 
)

Saves image to stream with the givin image format, size and quality.

Parameters
outputStreamThe stream to save the image.
formatThe format of the image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.

◆ GetNextImage() [15/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  quality 
)

Saves image to stream with given image format and quality.

Parameters
outputStreamThe stream to save the image.
formatThe format of the image.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [16/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< PageSize pageSize,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  quality 
)

Saves image to stream with given page size, image format and quality.

Parameters
outputStreamThe stream to save the image.
pageSizeThe page size of the image.
formatThe format of the image.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [17/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  quality 
)

Saves image to file with given image format and quality.

Parameters
outputFileThe file path and name to save the image.
formatThe format of the image.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [18/19]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::String  outputFile,
System::SharedPtr< PageSize pageSize,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
int32_t  quality 
)

Saves image to file with given page size, image format and quality.

Parameters
outputFileThe file path and name to save the image.
pageSizeThe page size of the image.
formatThe format of the image.
qualityThe Jpeg file's quality (0~100), 0 is lowest and 100 is highest

◆ GetNextImage() [19/19]

void Aspose::Pdf::Facades::PdfConverter::GetNextImage ( System::SharedPtr< System::Drawing::Graphics outGraphics,
float  leftTopX,
float  leftTopY,
int32_t  paperWidth,
int32_t  paperHeight,
System::Drawing::Rectangle  marginBounds,
float  scaleFactor,
int32_t  rotateDegrees,
bool  autoSize,
VerticalAlignment  verticalAlignment,
HorizontalAlignment  horizontalAlignment,
bool  isXPSPrinting,
bool  isIntermidiateImage,
bool  isGrayscale 
)
protected

draws page to graphics

◆ HasNextImage()

ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfConverter::HasNextImage ( )

Indicates whether the pdf file has more images or not.

Returns
Can get more images or not, true if can, or false.

◆ MergeImages()

static ASPOSE_PDF_SHARED_API System::SharedPtr<System::IO::Stream> Aspose::Pdf::Facades::PdfConverter::MergeImages ( System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< System::IO::Stream >>>  inputImagesStreams,
Aspose::Pdf::Drawing::ImageFormat  outputImageFormat,
ImageMergeMode  mergeMode,
System::Nullable< int32_t >  horizontal,
System::Nullable< int32_t >  vertical 
)
static

Merges list of image streams as one image stream. Png/jpg/tiff outputs formats are supported, in case of using non supported format output stream encoded as Jpeg by default.

Parameters
inputImagesStreamsThe list of image streams to merge.
outputImageFormatImage output format for merged stream.
mergeModeMerge mode. Used for Png/Jpg formats.
horizontalHorizontal ratio to set canvas width for output image stream. Used for Png/Jpg formats with ImageMergeMode.Center only.
verticalVertical ratio to set canvas height for output image stream. Used for Png/Jpg formats with ImageMergeMode.Center only.
Returns
Image stream encoded as output image format.

◆ MergeImagesAsTiff()

static ASPOSE_PDF_SHARED_API System::SharedPtr<System::IO::Stream> Aspose::Pdf::Facades::PdfConverter::MergeImagesAsTiff ( System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< System::IO::Stream >>>  inputImagesStreams)
static

Merges list of tiff streams as one multiple frames tiff stream.

Parameters
inputImagesStreamsThe list of tiff streams.
Returns
Multiple frames tiff stream.

◆ SaveAsTIFF() [1/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile)

Converts each pages of a pdf document to images and saves images to a single TIFF file.

Parameters
outputFileThe file to save the TIFF image.

◆ SaveAsTIFF() [2/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
Aspose::Pdf::Devices::CompressionType  compressionType 
)

Converts each pages of a pdf document to images and saves images to a single TIFF file.

Parameters
outputFileThe output file.
compressionTypeType of the compression.

◆ SaveAsTIFF() [3/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
int32_t  imageWidth,
int32_t  imageHeight 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.

◆ SaveAsTIFF() [4/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
System::SharedPtr< PageSize pageSize 
)

Converts each pages of a pdf document to images with page size and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
pageSizeThe page size of the image.

◆ SaveAsTIFF() [5/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
System::SharedPtr< PageSize pageSize,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings 
)

Converts each pages of a pdf document to images with page size and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
pageSizeThe page size of the image.
settingsSettings object that defines TIFF parameters.

◆ SaveAsTIFF() [6/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
int32_t  imageWidth,
int32_t  imageHeight,
Aspose::Pdf::Devices::CompressionType  compressionType 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
compressionTypeType of the compression.

◆ SaveAsTIFF() [7/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
int32_t  imageWidth,
int32_t  imageHeight,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
settingsSettings object that defines TIFF parameters.

◆ SaveAsTIFF() [8/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
int32_t  imageWidth,
int32_t  imageHeight,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings,
System::SharedPtr< IIndexBitmapConverter converter 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
settingsSettings object that defines TIFF parameters.
converterExternal converter

◆ SaveAsTIFF() [9/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream)

Converts each pages of a pdf document to images and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.

◆ SaveAsTIFF() [10/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
Aspose::Pdf::Devices::CompressionType  compressionType 
)

Converts each pages of a pdf document to images and saves images to a single TIFF file.

Parameters
outputStreamThe output stream.
compressionTypeType of the compression.

◆ SaveAsTIFF() [11/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< PageSize pageSize 
)

Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
pageSizeThe page size of the image.

◆ SaveAsTIFF() [12/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< PageSize pageSize,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings 
)

Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
pageSizeThe page size of the image.
settingsSettings object that defines TIFF parameters.

◆ SaveAsTIFF() [13/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
int32_t  imageWidth,
int32_t  imageHeight 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.

◆ SaveAsTIFF() [14/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
int32_t  imageWidth,
int32_t  imageHeight,
Aspose::Pdf::Devices::CompressionType  compressionType 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
compressionTypeType of the compression.

◆ SaveAsTIFF() [15/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
int32_t  imageWidth,
int32_t  imageHeight,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
settingsSettings object that defines TIFF parameters.

◆ SaveAsTIFF() [16/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
int32_t  imageWidth,
int32_t  imageHeight,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings,
System::SharedPtr< IIndexBitmapConverter converter 
)

Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.
settingsSettings object that defines TIFF parameters.
converterExternal converter

◆ SaveAsTIFF() [17/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings 
)

Converts each pages of a pdf document to images with and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
settingsSettings object that defines TIFF parameters.

◆ SaveAsTIFF() [18/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::String  outputFile,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings,
System::SharedPtr< IIndexBitmapConverter converter 
)

Converts each pages of a pdf document to images with and saves images to a single TIFF file.

Parameters
outputFileThe file name to save the TIFF image
settingsSettings object that defines TIFF parameters.
converterExternal converter

◆ SaveAsTIFF() [19/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings 
)

Converts each pages of a pdf document to images and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
settingsSettings object that defines TIFF parameters.

◆ SaveAsTIFF() [20/20]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFF ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< Aspose::Pdf::Devices::TiffSettings settings,
System::SharedPtr< IIndexBitmapConverter converter 
)

Converts each pages of a pdf document to images and saves images to a single TIFF stream.

Parameters
outputStreamThe stream to save the TIFF image.
settingsSettings object that defines TIFF parameters.
converterExternal converter

◆ SaveAsTIFFClassF() [1/6]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFFClassF ( System::String  outputFile,
int32_t  imageWidth,
int32_t  imageHeight 
)

Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.

Parameters
outputFileThe stream to save the TIFF image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.

◆ SaveAsTIFFClassF() [2/6]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFFClassF ( System::String  outputFile,
System::SharedPtr< PageSize pageSize 
)

Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.

Parameters
outputFileThe stream to save the TIFF image.
pageSizeThe page size of the image.

◆ SaveAsTIFFClassF() [3/6]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFFClassF ( System::SharedPtr< System::IO::Stream outputStream,
int32_t  imageWidth,
int32_t  imageHeight 
)

Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream.

Parameters
outputStreamThe stream to save the TIFF image.
imageWidthThe image width, the unit is pixel.
imageHeightThe image height, the unit is pixel.

◆ SaveAsTIFFClassF() [4/6]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFFClassF ( System::SharedPtr< System::IO::Stream outputStream,
System::SharedPtr< PageSize pageSize 
)

Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream.

Parameters
outputStreamThe stream to save the TIFF image.
pageSizeThe page size of the image.

◆ SaveAsTIFFClassF() [5/6]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFFClassF ( System::String  outputFile)

Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.

Parameters
outputFileThe stream to save the TIFF image.

◆ SaveAsTIFFClassF() [6/6]

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::SaveAsTIFFClassF ( System::SharedPtr< System::IO::Stream outputStream)

Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream.

Parameters
outputStreamThe stream to save the TIFF image.

◆ set_CoordinateType()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_CoordinateType ( PageCoordinateType  value)

Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.

◆ set_EndPage()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_EndPage ( int32_t  value)

Sets end position which you want to convert.

◆ set_FormPresentationMode()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_FormPresentationMode ( Aspose::Pdf::Devices::FormPresentationMode  value)

Sets form presentation mode.

◆ set_Password()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_Password ( System::String  value)

Sets document OwnerPassword.

◆ set_RenderingOptions()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_RenderingOptions ( System::SharedPtr< Aspose::Pdf::RenderingOptions value)

Sets rendering options.

◆ set_Resolution()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_Resolution ( System::SharedPtr< Aspose::Pdf::Devices::Resolution value)

Sets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150.

◆ set_ShowHiddenAreas()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_ShowHiddenAreas ( bool  value)

Sets flag that controls visibility of hidden areas on the page.

Deprecated:
CoordinateType property should be used instead of ShowHiddenAreas.

◆ set_StartPage()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_StartPage ( int32_t  value)

Sets start position which you want to convert. The minimal value is 1.

◆ set_UserPassword()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfConverter::set_UserPassword ( System::String  value)

Sets document UserPassword.