Sets the size of the paper in the drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetPaperSize( _
ByVal Sheet As String, _
ByVal Size As Integer, _
ByVal Height As Double, _
ByVal Width As Double _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IImportDxfDwgData
Dim Sheet As String
Dim Size As Integer
Dim Height As Double
Dim Width As Double
Dim value As Boolean
value = instance.SetPaperSize(Sheet, Size, Height, Width)
|
Parameters
- Sheet
- Sheet (layout) name of the input file or an empty string for all sheets
- Size
- Size as defined in swDwgPaperSizes_e
- Height
- If Size is swDwgPapersUserDefined, then the height of the paper in meters
- Width
- If Size is swDwgPapersUserDefined, then the width of the paper in meters
Return Value
True if paper size is set, false if not
Example
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0