Hide Table of Contents
NewSheet4 Method (IDrawingDoc)

Creates a new drawing sheet in this drawing document.

.NET Syntax

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

Parameters

Name
Name to be given to the new drawing sheet
PaperSize
Size of paper as defined in swDwgPaperSizes_e; valid only if TemplateIn is swDwgTemplates_e.swDwgTemplateNone
TemplateIn
Template as defined in swDwgTemplates_e
Scale1
Scale numerator
Scale2
Scale denominator
FirstAngle
True for first angle projection, false for third angle projection
TemplateName
Name of custom template with full directory path; valid only if TemplateIn is set to swDwgTemplates_e.swDwgTemplateCustom
Width
Paper width; valid only if TemplateIn is set to swDwgTemplates_e.swDwgTemplateNone or PaperSize is set to swDwgPaperSizes_e.swDwgPapersUserDefined
Height
Paper height; valid only if TemplateIn is set to swDwgTemplates_e.swDwgTemplateNone or PaperSize is set to swDwgPaperSizes_e.swDwgPapersUserDefined
PropertyViewName
Name of view containing the model from which to get custom property values
ZoneLeftMargin
Zone area left margin; distance from drawing sheet's left edge
ZoneRightMargin
Zone area right margin; distance from drawing sheet's right edge
ZoneTopMargin
Zone area top margin; distance from drawing sheet's top edge
ZoneBottomMargin
Zone area bottom margin; distance from drawing sheet's bottom edge
ZoneRow
Number of zone rows in the zone area of this sheet (see Remarks)
ZoneCol
Number of zone columns in the zone area of this sheet (see Remarks)

Return Value

True if drawing sheet creation was successful, false if not

Example

Remarks

The drawing sheet can be created with zones that annotations in other views can reference. Each zone is referenced by an alphanumeric label that is defined using the Zone Editor. See the SOLIDWORKS Help for more information about drawing sheet zones.

(ZoneRow x ZoneCol) is the total number of zones in the zone area of this drawing sheet. The zone area is specified by ZoneLeftMargin, ZoneRightMargin, ZoneTopMargin, and ZoneBottomMargin.

 

See Also

Availability

SOLIDWORKS 2015 FCS, Revision Number 23.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:   NewSheet4 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) 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.