Hide Table of Contents
CreatePresentation Method (IModelDocExtension)

Create a presentation of part or assembly in PDF format.

.NET Syntax

Visual Basic (Declaration) 
Function CreatePresentation( _
   ByVal PathName As String, _
   ByVal ThemeXML As String, _
   ByVal Options As Integer, _
   ByVal TextNameArray As Object, _
   ByVal TextArray As Object, _
   ByVal TextureArray As Object _
) As Boolean
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim PathName As String
Dim ThemeXML As String
Dim Options As Integer
Dim TextNameArray As Object
Dim TextArray As Object
Dim TextureArray As Object
Dim value As Boolean
 
value = instance.CreatePresentation(PathName, ThemeXML, Options, TextNameArray, TextArray, TextureArray)
C# 
bool CreatePresentation( 
   string PathName,
   string ThemeXML,
   int Options,
   object TextNameArray,
   object TextArray,
   object TextureArray
)
C++/CLI 
bool CreatePresentation( 
&   String^ PathName,
&   String^ ThemeXML,
&   int Options,
&   Object^ TextNameArray,
&   Object^ TextArray,
&   Object^ TextureArray
) 

Parameters

PathName
Path and filename for presentation in PDF format
ThemeXML
Theme XML file
Options
Views as defined in swPresentationOpts_e
TextNameArray
Array of names for the text fields (e.g., Title, Summary, Description, etc.)
TextArray
Array of text for the text fields specified in TextNameArray
TextureArray
Array of color studies (see Remarks)

Remarks

Use:

  • a selection mark of 1 when selecting part or assembly components for a layout.
  • selection marks 2, 4, 8, 16, etc. when selecting color studies.
    • If two color studies are linked, then a right-angle character (>) appears between them. For example:

      [0]marblegreen>marbledark
      [1]marblegreen>marblebeige
    • If the color studies are not linked, then a semi-colon character (;) appears between them. For example:

      [0]marblegreen;marblebeige
      [1]marblegreen;marbledark
 

See Also

Availability

SolidWorks 2009 FCS, Revision Number 17.0


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:   CreatePresentation Method (IModelDocExtension)
*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) 2010 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.