Prod.: Engine, ver.: 6019, ID: 60001301, Wish : I wish the print dialog to be able to print all layouts

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

Article60001301
TypeWish
ProductEngine
Version6019
Date Added2/2/2011
FixedYes [3/3/2011]
Submitted byKassulker, Kerwin J.
Keywords

Subject

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

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)