Article | 60001177 |
Type | Wish |
Product | Engine |
Version | 6018 |
Date Added | 6/28/2010 |
Fixed | Yes [6/29/2010] |
Submitted by | Florian Rappel |
Keywords |
Added in 6019.
A new static propert has been added to the Printer manager as follows:
Get/Set a rectangle value that represents the maximum width and height for papersize in hundrends of Inches.
Note:Default value is a 0,0,0,0 rectangle which means unlimited paper size. If there are positive values in the width and height of this property
then the user is limited into these values.
public static Rectangle FormMaximumPaperSize
This property can be used like this : VectorDraw.Professional.Dialogs.frmPrintManager.FormMaximumPaperSize = new Rectangle(0, 0, 20000, 20000) // limit the papersize to 200 inch
Which means that the maximum paper that can be put by the user is 5080x5080 mm Or 200x200 Inches.
Note that the property is in hundrends of inches that explains the above values.
This property is not available in the VDF wrapper component (vdraw.ocx).