Page Sizes
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
Page Sizes
I understand that TScaleRichView supports ISO standards but unfortunately I have to support US standards!
I am now in the process of writing a TDocumentPageSetupDialog and I am wondering if the best (proper) method to set the page size in a TScaleRichView object's PageProperty object is to set the FormatMode to srvfmCustom and then setting the FormatWidth and FormatHeight to the "closest" mm sizes?
If this is the best method, I would recommend you add some options for US users (letter / legal).
Best Regards,
Shane
I am now in the process of writing a TDocumentPageSetupDialog and I am wondering if the best (proper) method to set the page size in a TScaleRichView object's PageProperty object is to set the FormatMode to srvfmCustom and then setting the FormatWidth and FormatHeight to the "closest" mm sizes?
If this is the best method, I would recommend you add some options for US users (letter / legal).
Best Regards,
Shane
Re: Page Sizes
I am now in the process of writing a TDocumentPageSetupDialog and I am wondering if the best (proper) method to set the page size in a TScaleRichView object's PageProperty object is to set the FormatMode to srvfmCustom and then setting the FormatWidth and FormatHeight to the "closest" mm sizes?
Unit FormatWidth and FormatHeight depends on property UnitsProgram ( Inches, Centimeters, Millimeters, Picas, Pixels, Points).
Please, download new version ActionTest.
If this is the best method, I would recommend you add some options for US users (letter / legal).
what standards in US?
Unit FormatWidth and FormatHeight depends on property UnitsProgram ( Inches, Centimeters, Millimeters, Picas, Pixels, Points).
Please, download new version ActionTest.
If this is the best method, I would recommend you add some options for US users (letter / legal).
what standards in US?
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
In the US, the following are the most common page sizes:
Letter - 8.5" x 11" (~216mm x ~279mm)
Legal - 8.5" x 14" (~216mm x ~356mm).
Out of curiosity, I set the TScaleRichView object's units to srvInches and my program crashes with an EDivideByZero exception.
I will just leave the units in millimeters and do the conversion my self.
Best Regards,
Shane[/quote]
Letter - 8.5" x 11" (~216mm x ~279mm)
Legal - 8.5" x 14" (~216mm x ~356mm).
Out of curiosity, I set the TScaleRichView object's units to srvInches and my program crashes with an EDivideByZero exception.
I will just leave the units in millimeters and do the conversion my self.
Best Regards,
Shane[/quote]
In the US, the following are the most common page sizes:
Letter - 8.5" x 11" (~216mm x ~279mm)
Legal - 8.5" x 14" (~216mm x ~356mm).
Well, I add these formats.
Out of curiosity, I set the TScaleRichView object's units to srvInches and my program crashes with an EDivideByZero exception.
Sorry, I have forgotten. Error with UnitsProgram is corrected only today.
FormatWidth and FormatHeight were integers. Now they are Extended (not in trial version yet)
When the error occured, what was the value of PageSize? What measuring unit?
Letter - 8.5" x 11" (~216mm x ~279mm)
Legal - 8.5" x 14" (~216mm x ~356mm).
Well, I add these formats.
Out of curiosity, I set the TScaleRichView object's units to srvInches and my program crashes with an EDivideByZero exception.
Sorry, I have forgotten. Error with UnitsProgram is corrected only today.
FormatWidth and FormatHeight were integers. Now they are Extended (not in trial version yet)
When the error occured, what was the value of PageSize? What measuring unit?
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
Also, will the new version save the units accurately? I.E. if I choose, a program unit of inches, will it be stored as double instead of integer?proxy3d wrote:In the US, the following are the most common page sizes:
Letter - 8.5" x 11" (~216mm x ~279mm)
Legal - 8.5" x 14" (~216mm x ~356mm).
Well, I add these formats.
Out of curiosity, I set the TScaleRichView object's units to srvInches and my program crashes with an EDivideByZero exception.
Sorry, I have forgotten. Error with UnitsProgram is corrected only today.
FormatWidth and FormatHeight were integers. Now they are Extended (not in trial version yet)
When the error occured, what was the value of PageSize? What measuring unit?
Any chance of making another version available with this option + fixing orientation not saving bug?
The reason I am asking is that if my client signs off on the new version of my document editor using ScaleRichView, I will be purchasing it real quick.
Best Regards,
Shane
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Sorry, it is taking more time than we expected.
We decided to make a complete solution, with adding new properties to TRichView (instead of ScaleRichView providing additional data to save in RVF). In this way, we will be able to store page information not only in RVF, but in RTF too.
The update will be this week.
We decided to make a complete solution, with adding new properties to TRichView (instead of ScaleRichView providing additional data to save in RVF). In this way, we will be able to store page information not only in RVF, but in RTF too.
The update will be this week.
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am