Typo for TiffSettings.Shape Property

I’ve found a typo in TiffSettings.Shape property.
When choosing a ShapeType of portrait, the option appeared to be “portait”.
Not a big deal but look “weird” :-).

C#

// Open document
Document pdfDocument = new Document(“input.pdf”);

// Create Resolution object
Resolution resolution = new Resolution(300);

// Create TiffSettings object
TiffSettings tiffSettings = new TiffSettings();
tiffSettings.Compression = CompressionType.None;
tiffSettings.Depth = ColorDepth.Default;
tiffSettings.Shape = ShapeType.Portait;
tiffSettings.SkipBlankPages = false;

// Create TIFF device
TiffDevice tiffDevice = new TiffDevice(resolution, tiffSettings);


// Convert a particular page and save the image to stream
tiffDevice.Process(pdfDocument, 1, 1, “output.tif”);

Hi Ben,


Thanks for pointing our the typo issue, customer’s feedback help us to improve quality of our APIs. We have logged a ticket PDFNEWNET-39476 in our issue tracking system for the rectification. We will notify as soon as it is fixed.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-39476) have been fixed in Aspose.Pdf for .NET 11.0.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan