Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

IsLandscape property is not working

Last post 02-07-2010, 1:11 PM by codewarior. 3 replies.
Sort Posts: Previous Next
  •  02-02-2010, 2:26 AM 220169

    IsLandscape property is not working

    We are using following code:

    Aspose.Pdf.Pdf lobjPdf = new Aspose.Pdf.Pdf();  
    lobjPdf.IsLandscape = true;
    Aspose.Pdf.Section lobjSection = lobjPdf.Sections.Add();
    lobjPdf.Sections.Add(lobjSection);
    lobjSection.IsLandscape = true;

    but in print preview of generated pdf its showing potrait.

    we are using .NET 1.1 and aspose.pdf.

     
  •  02-02-2010, 7:01 AM 220239 in reply to 220169

    Re: IsLandscape property is not working

    Attachment: Present (inaccessible)

    Hello Aneesh,

     

    Thanks for your interest in our products.

     

    I’ve tested the scenario and as per my observation, the document seems to be in Landscape mode. If you select the PageSetup option from Adobe Reader, you will notice that the Page Orientation is by default selected as Landscape. More along, if Adobe Acrobat professional is installed over your system and you select the properties for Acrobat Distiller, you’ll notice that Page Orientation is selected as Landscape. Same is the case with Microsoft Office Document Image writer. If you selected printing properties for it, Landscape is selected as default page Orientation. For further understating, please take a look over the attached screenshots.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  02-03-2010, 5:26 AM 220465 in reply to 220239

    Re: IsLandscape property is not working

    Hi

    I agree with your comments, but in my system and in my client's machine the generated pdf is showing portrait as selected option.

    My client needs Landscape as selected option in the generated PDF. Please let us know if there is anyway by which we can make Landscape as selected.

    Thanks in advance.

     
  •  02-07-2010, 1:11 PM 221138 in reply to 220465

    Re: IsLandscape property is not working

    Hello Aneesh,

    Sorry for replying you late.

    I'm sorry to inform you that we might not be able to support this feature because its related to Adobe Reader or the software displaying the PDF.

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML