Hide Table of Contents
SetProperties Method (ISheet)

Obsolete. Superseded by ISheet::SetProperties2.

.NET Syntax

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



Paper size as defined in swDwgPaperSizes_e


Template as defined in swDwgTemplates_e


Scale numerator


Scale denominator


True if you want first angle projection, false if not


Custom paper width if PaperSz = swDwgPaperSizes_e.swDwgPapersUserDefined


Custom paper height if PaperSz = swDwgPaperSizes_e.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 parameter does not override the PaperSz setting. Also, if you change the scale of the sheet using Scale1 and Scale2, then any drawing view that 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


SOLIDWORKS 2007 FCS, Revision Number 15.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

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) 2018 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.