Hide Table of Contents
SetProperties Method (ISheet)

Sets the properties for this sheet.

.NET Syntax

Visual Basic (Declaration) 
Sub SetProperties( _
   ByVal PaperSz As Integer, _
   ByVal Templ As Integer, _
   ByVal Scale1 As Double, _
   ByVal Scale2 As Double, _
   ByVal FirstAngle As Boolean, _
   ByVal Width As Double, _
   ByVal Height As Double _
Visual Basic (Usage) 
Dim instance As ISheet
Dim PaperSz As Integer
Dim Templ As Integer
Dim Scale1 As Double
Dim Scale2 As Double
Dim FirstAngle As Boolean
Dim Width As Double
Dim Height As Double
instance.SetProperties(PaperSz, Templ, Scale1, Scale2, FirstAngle, Width, Height)
void SetProperties( 
   int PaperSz,
   int Templ,
   double Scale1,
   double Scale2,
   bool FirstAngle,
   double Width,
   double Height
void SetProperties( 
&   int PaperSz,
&   int Templ,
&   double Scale1,
&   double Scale2,
&   bool FirstAngle,
&   double Width,
&   double Height



Paper size as defined in swDwgPaperSizes_e


Template index as defined in swDwgTemplates_e


Scale numerator


Scale denominator


True if you want first angle projection, false if not


Custom paper width if PaperSz = swDwgPapersUserDefined


Custom paper height if PaperSz = swDwgPapersUserDefined


If you specify a custom template, then the current custom template is used by this sheet until you call ISheet::SetTemplateName and pass in a different custom template name.

NOTE: If Templ does not match the PaperSz specification, then you get a template that does not fit the paper size. This argument does not override the PaperSz setting.

Also, if you change the scale of the sheet using Scale1 and Scale2, then any drawing view which is set to use the sheet's scale takes the new scale setting.

You can also use ISheet::SetSize to set the size of the sheet and the standard sheet size.


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

Subject:   Feedback on Help Topics
Page:   SetProperties Method (ISheet)
*   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:


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

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.