UIprintDialog


Synopsis

print class for UIdialog objects in Windows.

UIdialog UIprintDialog {
ok<NEportLevels={0,2}>;

int colors<NEportLevels={0,2}>; // 0=monochrome(only PS lev1) 1=color
int orientation<NEportLevels={0,2}>; // 0=landscape 1=portrait
int size<NEportLevels={0,2}>; // Used for DEVMODE devPaperSize
float widthMM<NEportLevels={0,2}>;
float heightMM<NEportLevels={0,2}>;
float gridSize<NEportLevels={0,2}>; // Number of pixels/grid for 3D image
float fromRatio; // The aspect ratio of the view to
// make print from

ptr+nosave+OPort2 devMode = 0;
ptr+nosave+OPort2 devNames = 0;

method_inst inst<NEvisible=0,lang="cxx",interruptable=0>=
"UIprintDialogInstance";
method_val update<NEvisible=0,lang="cxx",interruptable=0>=
"UIprintDialogUpdate";
method_del delete<NEvisible=0,lang="cxx",interruptable=0> =
"UIprintDialogDestroy";
};

Description

Operates only in Windows.

Subobjects

message

UIdecorContainer class attribute.

x; y;
width; height;

UIGeom class attributes.

clientWidth; clientHeight

UIdecorGeom class attributes

* parent;
grouptoParent;
&cursor;
events <Not visible in Network Editor>;

UIwindow class attributes

shellParent <Not visible in Network Editor>;
canHaveChildren <Not visible in Network Editor>

UIConnection class attributes inherited from UIwindow.

&visible=0;
&active;
pixmap;
color;
fontAttribute;
fontlist <No longer used. Not visible in Network Editor>
cxxhandle <Internal Object. Not visible in Network Editor>
handle <Internal Object. Not visible in Network Editor>
window_resources <No longer used. Not visible in Network Editor>
motif_resources <No longer used. Not visible in Network Editor>
layout <No longer used. Not visible in Network Editor>

Attributes inherited from UIcore class through UIwindow.

title;
isModal <no longer used>;
autoUnmanage;
destroyOnUnmanage;
ok;
cancel;
okButton;
okLabelString;
cancelButton;
cancelLabelString;
display

Attributes inherited from UIdialog.

SEE V-CODE ABOVE

 

Paper Size

1 Letter 8 1/2 x 11 in

2 Letter small 8 1/2 x 11 in

3 Tabliod 11 x 17 in

4 Ledger 17 x 11 in

5 Legal 8 1/2 x 14 in

6 Statement 5/1/2 x 8 1/2

7 Executive 7 1/4 x 10 1/2

8 A3 297 x420 mm

9 A4 210 x 297 mm

10 A4 small 148 x 210 mm

For a complete table of values see the header file wingdi.h

Example

Examples.Applications.UIApp
examples/ui_samp.v
Main.Filters.extract_component
v/modules.v

File

v/UI.v

See Also

Related modules:

•      UImessageBox

•      UIprimitive

•      UIfileDialog

•      UIdialog