Prints the eDrawings file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub Print5( _
ByVal ShowDialog As Boolean, _
ByVal FileNameInPrintQueue As String, _
ByVal Shaded As Boolean, _
ByVal DraftQuality As Boolean, _
ByVal Color As Boolean, _
ByVal printType As EMVPrintType, _
ByVal scale As Double, _
ByVal centerOffsetX As Integer, _
ByVal centerOffsetY As Integer, _
ByVal printAll As Boolean, _
ByVal pageFirst As Integer, _
ByVal pageLast As Integer, _
ByVal PrintToFileName As String _
) |
Visual Basic (Usage) | |
---|
Dim instance As IEModelViewControl
Dim ShowDialog As Boolean
Dim FileNameInPrintQueue As String
Dim Shaded As Boolean
Dim DraftQuality As Boolean
Dim Color As Boolean
Dim printType As EMVPrintType
Dim scale As Double
Dim centerOffsetX As Integer
Dim centerOffsetY As Integer
Dim printAll As Boolean
Dim pageFirst As Integer
Dim pageLast As Integer
Dim PrintToFileName As String
instance.Print5(ShowDialog, FileNameInPrintQueue, Shaded, DraftQuality, Color, printType, scale, centerOffsetX, centerOffsetY, printAll, pageFirst, pageLast, PrintToFileName)
|
C# | |
---|
void Print5(
bool ShowDialog,
string FileNameInPrintQueue,
bool Shaded,
bool DraftQuality,
bool Color,
EMVPrintType printType,
double scale,
int centerOffsetX,
int centerOffsetY,
bool printAll,
int pageFirst,
int pageLast,
string PrintToFileName
) |
C++/CLI | |
---|
void Print5(
& bool ShowDialog,
& String^ FileNameInPrintQueue,
& bool Shaded,
& bool DraftQuality,
& bool Color,
& EMVPrintType printType,
& double scale,
& int centerOffsetX,
& int centerOffsetY,
& bool printAll,
& int pageFirst,
& int pageLast,
& String^ PrintToFileName
) |
Parameters
- ShowDialog
- True to show the Print dialog, false to not
- FileNameInPrintQueue
- Document name to show in the printer queue for this eDrawings file (see Remarks)
- Shaded
- True to print shaded, false to not print shaded
- DraftQuality
- True to print draft quality, false to print regular quality
- Color
- True to print in grayscale on black-and-white printers, false to print black and white (lines, edges, and text are black, and shaded data is grayscale)
- printType
- Scale the eDrawings file as defined in EMVPrintType (see Remarks)
- scale
- Scaling factor; this argument is valid only when printType is set to eScaled
- centerOffsetX
- Offset in thousands of an inch; this argument is valid only when printType is set to eScaled
- centerOffsetY
- Offset in thousands of an inch; this argument is valid only when printType is set to eScaled
- printAll
- True to print all pages, false to not
- pageFirst
- Page number of first page to print; this argument is valid only when printAll is set to false
- pageLast
- Page number of last page to print; this argument is valid only when printAll is set to false
- PrintToFileName
- File name to which to print the eDrawings file (see Remarks)
Example
Remarks
See Also
Availability
SolidWorks eDrawings API 2011 SP04