Hide Table of Contents

File > Save As > Save as type > Tif or Adobe PhotoShop Files or JPEG > Options > TIF/PSD/JPG

 

Setting

Get/Set Methods

Return Value
or
<Value>
or
<OnFlag>

Comment

Output as - Image type

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffImageType)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffImageType, swTiffImageType_e.<Value>)

See swTiffImageType_e for valid options

 

Output as - Tiff Compression scheme

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffCompressionScheme)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffCompressionScheme, swTiffCompressionScheme_e.<Value>)

See swTiffCompressionScheme_e for valid options

 

Output as - Remove background

See Comment

See Comment

Currently not available in the SOLIDWORKS API

Output as - Jpeg Compression

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swExportJpegCompression)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swExportJpegCompression, <Value>)

Long value (1-100)

1 is for lowest compression; 100 is for highest compression (low quality)

Output as - Screen capture

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffScreenOrPrintCapture)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffScreenOrPrintCapture, <Value>)

0

 

Output as - Print capture

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffScreenOrPrintCapture)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffScreenOrPrintCapture, <Value>)

1

 

Output as - All sheets (multipage)

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintAllSheets)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintAllSheets, <OnFlag>)

True

For Output as - Print capture only

Output as - Current sheet

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintAllSheets)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintAllSheets, <OnFlag>)

False

For Output as - Print capture only

Output as - Use sheet size(s)

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintUseSheetSize)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintUseSheetSize, <OnFlag>)

True

For Output as - Print capture only

Output as - Use print size

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintUseSheetSize)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintUseSheetSize, <OnFlag>)

False

For Output as - Print capture only

Output as - Enable text padding (for low DPI/size settings)

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintPadText)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintPadText, <OnFlag>)

Boolean value

Adjusts inter-character text spacing such that the text fills the bounding rectangle of the string; set to True when using low DPI and small paper sizes (A, A4, or A3)


Output as - Include layers set not to print

SldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTIFIncludeLayersNotToPrint)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTIFIncludeLayersNotToPrint, <OnFlag>)


Boolean value

Specifies whether to include layers set not to print

Print capture options - DPI

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffPrintDPI)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffPrintDPI, <Value>)

Integer value

For drawings only; For Output as - Print capture only

Print capture options - Paper size

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffPrintPaperSize)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffPrintPaperSize, swDwgPaperSizes_e.<Value>)

See swDwgPaperSizes_e for valid options

 

Print capture options - Width

ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swTiffPrintDrawingPaperWidth)

ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swTiffPrintDrawingPaperWidth, <Value>)

Double value in meters

For drawings only; For Output as - Print capture only with Print capture options - Paper size set to User Defined

Print capture options - Height

ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swTiffPrintDrawingPaperHeight)

ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swTiffPrintDrawingPaperHeight, <Value>)

Double value in meters

For drawings only; For Output as - Print capture only with Print capture options - Paper size set to User Defined

Print capture options - Scale to fit

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintScaleToFit)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swTiffPrintScaleToFit, <OnFlag>)

Boolean value

For drawings only; specifies whether to scale drawing to fit page

Print capture options - Scale

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffPrintScaleFactor)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffPrintScaleFactor, <Value>)

Integer value

Specifies the scale factor

 



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   File > Save As > Save as type > Tif > Options > TIF/PSD/JPG
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.