Public Methods

 Print

This will print the submodel according to the options that are set.

Public Properties

 BorderColor

This is the border color. It takes a 4 byte integer where 1st byte is red value(0-255), the 2nd byte is green value(0-255), and 3rd byte is blue value(0-255). DATATYPE: Integer.

 BorderWidth

Indicates the thickness of the border lines. The values allowed range from 1 to 5 only. DATATYPE: Double.

 Collate

This is the flag to enable/disable collate when printing. DATATYPE: Boolean.

 DateTimeStampPosition

Indicates the position of the date and time stamp. The values are either 0 = top or 1 = bottom. DATATYPE: Integer.

 Margin

Indicates the size of the margin. The values allowed ranges from 0.20 to 2.20 in inches. DATATYPE: Double.

 NumberOfCopies

Indicates how many copies to print. DATATYPE: Integer.

 PageScale

Indicates the page sclea. The values are either 0=PrintCurrentZoom, 1=Print 1:1(NoZoom), 2=FitPage, 3=UserDefined. DATATYPE: Integer.

 PrintBorder

This is the flag to enable/disable printing of the border. DATATYPE: Boolean.

 PrintCropMarks

This is the flag to enable/disable printing of the crop marks. DATATYPE: Boolean.

 PrintDateTimeStamp

This is the flag to enable/disable printing of the date and time stamp. DATATYPE: Boolean.

 PrintDiagramSubmodelName

This is the flag to enable/disable printing of the diagram and submodel name. DATATYPE: Boolean.

 PrintGrid

This is the flag to enable/disable printing of the grid. DATATYPE: Boolean.

 PrintModelBackground

This is the flag to enable/disable printing of the model background. DATATYPE: Boolean.

 PrintObjectBackground

This is the flag to enable/disable printing of the object background. DATATYPE: Boolean.

 PrintPageNumbers

This is the flag to enable/disable printing of the page numbers. DATATYPE: Boolean.

 Scale

If page scale is set to UserDefined this peoprty is used to set the actual scale. Allowed values are 5 to 400. DATATYPE: Double.

See Also

PrintOptions Overview

  • No labels