Join
Sign in
ComponentOne Community
Search Options
Search Everything
Search WinForms
Home
WinForms
WPF
ASP.NET
Silverlight
SharePoint
Help Authoring
ActiveX
Windows Mobile
General
Visual Studio Extensions
Legacy
Marketing Blogs
Dev Tools
Evangelists
C1Announcements
More ...
Home
»
WinForms
»
Excel for .NET
»
FitPagesDown problem
FitPagesDown problem
WinForms
ComponentOne's WinForms controls
Get this RSS feed
Home
Blog
Forums
Files
Wikis
Details
1
Reply
1
Subscriber
469
days old
Options
Subscribe via RSS
Send to friend
Excel for .NET
FitPagesDown problem
rated by 0 users
This post has
1 Reply |
1
Follower
Posted by
x-invest
on
5-22-2009 6:00 AM
rated by 0 users
FitPagesDown problem
Hi! I'm using this code: Excel.Clear(); Excel.Sheets.Clear(); Excel.CompatibilityMode = CompatibilityMode.Excel2007; Excel.DefaultFont = new Font("Microsoft Sans Serif", 8F, FontStyle.Regular); XLSheet Sheet = Excel.Sheets.Add("sheet"); Sheet.PrintSettings.MarginTop = 0.5F; Sheet.PrintSettings.MarginBottom = 1F; Sheet.PrintSettings.MarginLeft = 0.5F; Sheet.PrintSettings.MarginRight = 0.5F; Sheet.PrintSettings.CenterHorizontal = true; Sheet.PrintSettings.CenterVertical = false; Sheet.PrintSettings.FitPagesAcross = 1; Sheet.PrintSettings.FitPagesDown = 100; Sheet.PrintSettings.AutoScale = true; But FitPagesAcross/FitPagesDown are always 1/1 in Excel after I open the saved xlsx file. Even when I set AutoScale to false... I'm doing something wrong ?
Posted by
x-invest
on
6-3-2009 6:26 AM
rated by 0 users
Re: FitPagesDown problem
up, plz :$
Page 1 of 1 (2 items)