60001301 I wish the print dialog to be able to print all layouts

Article 60001301
Type Wish
Product Engine
Version 6019
Date Added 2/2/2011
Fixed (3/3/2011)
Submitted by Kassulker, Kerwin J.

Summary

I wish the print dialog to be able to print all layouts

Solution

We exported a new form to handle layout printing.

This form is named : frmLayoutPrintManager

The form can be called as following : VectorDraw.Professional.Dialogs.frmLayoutPrintManager.Show(vdFramedControl.BaseControl.ActiveDocument, true, true, true,"");

The parameters of the Show method are:

"doc">The vdDocument object where the printing process takes place.

"extends">If true then all layouts are loaded with PrintExtends including the Model.

"scaleToFit">If True then all layouts are loaded with PrintScaleToFit including the Model.

"partialpreview">If True then all layouts are loaded with their preview in full.

"range">Set the range manually by default OR leave it empty for All printout.

If the user of this Form has preprepared the printer property for each layout then the boolean values passed as parameters are not required to be true.

static public DialogResult Show(vdDocument doc,bool extends , bool scaleToFit, bool partialpreview , string range)

Send comments on this topic.