Sets the properties for this sheet.
.NET Syntax
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
Dim SameCustomPropAsSheetInDocProp As System.Boolean
instance.SetProperties2(PaperSz, Templ, Scale1, Scale2, FirstAngle, Width, Height, SameCustomPropAsSheetInDocProp) |
Parameters
- PaperSz
Paper size as defined in swDwgPaperSizes_e (see Remarks)
- Templ
Template as defined in swDwgTemplates_e (see Remarks)
- Scale1
- Scale numerator (see Remarks)
- Scale2
- Scale denominator (see Remarks)
- FirstAngle
True if you want first angle projection, false if not
- Width
- Custom paper width if PaperSz = swDwgPaperSizes_e.swDwgPaperUserDefined (see Remarks)
- Height
- Custom paper height if PaperSz = swDwgPaperSizes_e.swDwgPaperUserDefined (see Remarks)
- SameCustomPropAsSheetInDocProp
- True to select the Same as sheet specified in Document Properties check box in the Sheet Properties dialog, false to not (see Remarks)
Example
Remarks
See Also
Availability
SOLIDWORKS 2016 FCS, Revision Number 24.0