Hide Table of Contents
NewSheet3 Method (IDrawingDoc)

Creates a new drawing sheet in this drawing.

.NET Syntax

Visual Basic (Declaration) 
Function NewSheet3( _
   ByVal Name As String, _
   ByVal PaperSize As Integer, _
   ByVal TemplateIn As Integer, _
   ByVal Scale1 As Double, _
   ByVal Scale2 As Double, _
   ByVal FirstAngle As Boolean, _
   ByVal TemplateName As String, _
   ByVal Width As Double, _
   ByVal Height As Double, _
   ByVal PropertyViewName As String _
) As Boolean
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim Name As String
Dim PaperSize As Integer
Dim TemplateIn As Integer
Dim Scale1 As Double
Dim Scale2 As Double
Dim FirstAngle As Boolean
Dim TemplateName As String
Dim Width As Double
Dim Height As Double
Dim PropertyViewName As String
Dim value As Boolean
 
value = instance.NewSheet3(Name, PaperSize, TemplateIn, Scale1, Scale2, FirstAngle, TemplateName, Width, Height, PropertyViewName)
C# 
bool NewSheet3( 
   string Name,
   int PaperSize,
   int TemplateIn,
   double Scale1,
   double Scale2,
   bool FirstAngle,
   string TemplateName,
   double Width,
   double Height,
   string PropertyViewName
)
C++/CLI 
bool NewSheet3( 
&   String^ Name,
&   int PaperSize,
&   int TemplateIn,
&   double Scale1,
&   double Scale2,
&   bool FirstAngle,
&   String^ TemplateName,
&   double Width,
&   double Height,
&   String^ PropertyViewName
) 

Parameters

Name
Name to be given to the new drawing sheet
PaperSize
Size of paper if using swDwgTemplateNone as defined in swDwgPaperSizes_e
TemplateIn
Template index as defined in swDwgTemplates_e
Scale1
Scale numerator
Scale2
Scale denominator
FirstAngle
True for first angle projection, false otherwise
TemplateName
Name of custom template with full directory path if TemplateIn is set to swDwgTemplateCustom
Width
Paper width if TemplateIn is set to swDwgTemplateNone or swDwgPapersUserDefined
Height
Paper height if TemplateIn is set to swDwgTemplateNone or swDwgPapersUserDefined
PropertyViewName
Name of the drawing view containing the model to where custom property values

Return Value

True drawing sheet creation was successful, false if not
 

See Also



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:   NewSheet3 Method (IDrawingDoc)
*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) 2012 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.